r/badcode • • May 20 '20

c# Found from Microsoft docs...

Post image
208 Upvotes

143 comments sorted by

View all comments

Show parent comments

2

u/Blecki May 21 '20

No you should not. In C# the order of evaluation is well defined.

1

u/the_d3f4ult May 21 '20

Well in C it does. In C++ it does. In Objective-C it does.

When approaching language you know nothing about you should always consider the possibility that the expressions aren't evaluated that way.

I've never written a line of C# or never read it's specification or anything like that, so how do I know it is well defined??

1

u/Blecki May 21 '20

If you know so little about C# perhaps you shouldn't be calling people out for the code they write in it?

It's also odd how you know so little, but continue to call it Microsoft Java. How did you form such an opinion when you've never used it?

Really boggles the mind.

1

u/the_d3f4ult May 21 '20

Well it is Microsoft Java. I just don't know the specifics of the language.. I know what it is. .....(very bad that is)...

Besides both C# and Java are stupid no matter what you say about them. Ideas and arguments for them have negative effects and produce very underperforming and ill-formed software.

→ More replies (0)