|
My one mixed up with vitamin this year (6)
|
|
|
|
|
Your one mixed up in forum.
This space for rent
|
|
|
|
|
Systems programmers telling web developers that their job is easy or that it somehow doesn’t count is akin to an aerospace engineer telling a civil engineer that their job isn’t “real engineering.” "Reality is merely an illusion, albeit a very persistent one"
|
|
|
|
|
I’ve been programming since 1998
noob.
Marc
|
|
|
|
|
Me too. granted it was lego robotics drag and drop styed instructions and I didn't understand it at all but it still counts right?
|
|
|
|
|
Since 1967.
My long term goal is to live forever. So far, so good...
|
|
|
|
|
That's a very long post to justify your professional existence. He protests a little too much.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
It's been extremely hard to write C# oddities because it appears the people who created it did a pretty good job. It's not a bug, it's a feature
I'm pretty sure he's wrong about the switch statement, but I'm too lazy to test/look it up.
|
|
|
|
|
I agree. I would say that the second peculiarity can be replaced by const (in that case), and the third one is a classic C++ unreadable mess.
|
|
|
|
|
Baloney!
His allegedly NOT compiling switch statement is the like of which I write every day, and it compiles.
Enough said!
|
|
|
|
|
Yeah; what's he been smoking?
|
|
|
|
|
Yes it's allowed. Fall through is only not allowed in C# when the case contains something. If it's empty like he showed, that's fine.
|
|
|
|
|
|
"Something else to note hear..."
'Nuff said.
/ravi
|
|
|
|
|
That falls on deaf ears.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Hello! Anybody home!
It is bad enough to use switch at the first place, but since when we solve repetitive task using 'fall through'?
Dear author - for that we introduced method (function/subrutine/...)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
The comments on the article are rather amusing - especially his reply to Brian Friesen. Apologies, it appears you are right. It is a while since I programmed in C# and this was an example I found while researching this article. Perhaps you have some other examples that I can use in its place.
This space for rent
|
|
|
|
|
His switch statement example is absurd.
0) Nobody would write a switch statement that falls through from the first case all the way to default. That's just f*ckin stupid.
1) He neglected to include the break statement, which would satisfy the compiler.
2) Real programmers don't use goto.
3) "each case must either have a break or a return" - wrong, retard.
4) In some instances, fall-through is viable and necessary.
On declaration order of variables...
0) Regardless of whether or not a given variable is static, it MUST be declared before using it. Where did this idiot learn to write code?
On I++.ToString()...
0) It's call precedence. Learn how to write code before calling something stupid. On the other hand, we can call you a retard, and be correct whenever we do it.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Something to expect from a student who is just starting and comparing languages
"I just did my homework, and came across these strange things.."
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I just noticed humanity, and came across full-on retards.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
He needs to look at the main code of the company I worked at about three years ago; it was a nightmare of C# rot.
|
|
|
|
|
Hear, hear! 800 line switch statement?? Pffft, hey it compiles to key / value pair so it performs.
|
|
|
|
|
One of the most persistent questions I hear about Windows 10 involves what happens when the free upgrade offer ends. Is Microsoft going to start charging subscription fees? After a close look at the company's financials, I'm convinced the answer is an emphatic no. Just sell a new version every year
|
|
|
|
|
Pretty much what I thought.
Consumer Windows revenue was mostly via OEMs anyway. So most people got a new version of Windows when they got a new PC. Few consumers actually paid for upgrades.
I assume what will happen is that if after July 29th you have an existing PC that hasn’t been upgraded to Win 10 then you pay.
If you buy a new PC with Win 10 then you’ll never have to pay for any later version of Windows (technically feature update to Win 10, since Win 10 is the "last" version of Windows).
Kevin
|
|
|
|