a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by user-inactivated
user-inactivated  ·  2081 days ago  ·  link  ·    ·  parent  ·  post: Pubski: August 8, 2018

    I'm teaching myself C# as a gateway into full-fledged C.

You're starting with the way more complicated thing.





johnnyFive  ·  2081 days ago  ·  link  ·  

No way, or at least I've found C# to be much more intuitive. The standard library is a lot more straightforward, and you don't have to do memory management at all if you don't want to. By the same token, you never really have to worry about whether you should pass a variable by reference or by value. Pretty much the only question is whether to make a class static or not.

user-inactivated  ·  2081 days ago  ·  link  ·  

The C Programming language is 272 pages long. The C# Programming Language is 864 pages long. It might be more intuitive to you, but it's by far more complicated.

johnnyFive  ·  2081 days ago  ·  link  ·  

Two things. One, C != C++. Also, what do you mean by a programming language being x number of pages long?

user-inactivated  ·  2081 days ago  ·  link  ·  

Manual length is a fine proxy for Kolmogorov complexity.

johnnyFive  ·  2078 days ago  ·  link  ·  

Perhaps, but that definition of "complexity" is not how that term is usually used. In terms of usability, C# is far less complex.