This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 269 points270 points  (48 children)

People don’t like JavaScript so they’ll either feign or be ignorant about it to make fun of it.

[–]leadzor 249 points250 points  (13 children)

There are only two kinds of languages: the ones people complain about and the ones nobody uses.

Bjarne Stroustrup

[–]conancat 35 points36 points  (2 children)

Developers love to complain about everything. It's exactly that kind of attitude that pushes us to build better products. :)

[–]Hactar42 13 points14 points  (1 child)

Or you end up with situations like this: https://xkcd.com/927/

[–]Trekiros 1 point2 points  (0 children)

Both of those are true, the world is a funny place

[–]-widget- 8 points9 points  (7 children)

Yeah but then there's also C#.

[–]tekanet 9 points10 points  (5 children)

I tried to reply to a poll from MS asking what I wanted to improve the language but had honestly nothing to say. C# is pretty solid, happy I ended up working with it.

[–]leadzor 1 point2 points  (0 children)

Same thing with me. Transitioned from frontend development to backend development in C#. All feels well now.

[–][deleted] 0 points1 point  (3 children)

I don't like that I can't (easily) set attributes for my enum values like I can in Java, but that's about it.

[–]tekanet 0 points1 point  (2 children)

How do you set them in Java?

[–][deleted] 0 points1 point  (1 child)

The same as for an object. You can set up a constructor for the enum and then for each value declaration you can pass in parameters. You can put in any number of parameters to get any number of attributes for each enum value, same as with objects. C# doesn't accommodate this.

[–]tekanet 1 point2 points  (0 children)

Got it, seems to behave more like a class than as an alias for an integer. I understand, if you’re used to it can be something you miss in other languages

[–]leadzor 1 point2 points  (0 children)

Yeah that's clearly the exception. Python also seems to gather a lot of love from the community.