proud recipient of the prestigious you tried award.

  • 1 Post
  • 368 Comments
Joined 2 vuotta sitten
cake
Cake day: 2. heinäkuuta 2023

help-circle










  • affiliate@lemmy.worldtoProgrammer Humor@lemmy.mlunsafeCode
    link
    fedilink
    arrow-up
    5
    ·
    8 kuukautta sitten

    i will never forgive C for making the type syntax be

    char* args[]
    

    instead of the much more reasonable

    &[char] args 
    

    it also bothers me that char* args[] and char c are “the same type” in the sense that the compiler lets you write

    char c, *args[5];
    

    with no problems. i think the C languages would be way easier to learn if they had better type syntax. don’t even get me started on C++ adding support for

    auto fn_name() -> ReturnType { … }