Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I dove into C# for a short while and intend to go back eventually.
I remember looking at all the boilerplate then firing up Visual Studio and my laptop fan takes off ...
"Well that seems kinda unnecessary..." -
Don't worry, you'll get used to it.
But thank you for being an example of why Python shouldn't be taught as a first language, like my University first year teachers want to do... poor new students... -
The similarity of Python to pseudocode and it's indentation-based syntax are some of it's unique features. The language was designed to be that way.
C# has other main objectives, which results in more boilerplate / syntax to learn. But it has advantages in other areas you'll see soon. -
Yea mos lt languages have brackets. Lots and lots of brackets but then indentation doesn't really matter
-
kiki352474yI’ve read your rant and I only have seen the word “curve”. I want a curvy person to squeeze
-
@c3r38r170 My university exclusively teaches C++ as a first language, and IMO it's a lot easier to go "oh, so Java uses pointers implicitly for non-primitives" and "oh so Python uses this exception thing to handle errors" instead of the inverse, which is "the fuck's a pointer?".
Case in point the guy here (or on StackOverflow idk which) a while ago complaining because he couldn't understand the difference between *int64 and int64. -
10Dev28534yI learned python first, and it was the worst mistake of my coding career. It's indentation syntax and lack of boilerplate are really cool, but not a single other language does that
Because I learned python first, I struggled learning other languages -
@sudo-woodo That's cool. My old teachers are thinking of using Python to replace Pascal, that's the language we were introduced.
I already knew Java, PHP, JS and MySQL by then so I just nailed it, but poor classmates who had to learn programming using :=... -
@10Dev Nim uses that sort of syntax, i can probably think of some other languages that have that. If anything the one for Nim is far more anal since you can't use tabs....it has to be 4 fucking spaces. But the language is otherwise nice.
I still hate syntactic whitespace. -
... what do you mean, "so much"?
it could be fit onto one side of one sheet of paper, without even trying. -
kiki352474y
-
Verbosity is good, actually.
Make that code W I D E and give your components nice names -
@N00bPancakes I totally get that, I don't like visual studio myself either.
If you want a simpler setup, consider just using the dotnet command line tool and any text editor you prefer. -
Related Rants
I have just started learning C# having previously known only Python. It's a learning curve - why is there so much syntax!? 😬
rant
learning new language
c#
verbose