Share good ideas and conversation.   Login, Join Us, or Take a Tour!
comment by bfv
bfv  ·  124 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  ·  124 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.

bfv  ·  124 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  ·  124 days ago  ·  link  ·  

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

bfv  ·  124 days ago  ·  link  ·  

Manual length is a fine proxy for Kolmogorov complexity.

johnnyFive  ·  121 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.