proud recipient of the prestigious you tried award.

  • 0 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle

  • 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 { … }