this post was submitted on 17 Jun 2023
93 points (98.9% liked)

Programmer Humor

32410 readers
145 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 0xd 33 points 1 year ago (3 children)

https://stackoverflow.com/a/5685943

Here is the answer, M$ changed their mind at some point and your university has a stale information but it seems it was true in the past.

[–] JustANoone 16 points 1 year ago* (last edited 1 year ago) (1 children)

This is a reucurring theme at this specific subject unfortunately. He doesn't seem to put much effort into it, as most slides are just plain text and nothing else. I stopped attending after the second class.

[–] [email protected] 4 points 1 year ago

That truly sucks. Yeah, some professors can be like that. I had a math professor offer bonus points to the first 3 students completed the assignment, only for the majority to cheat and just look up the answer and turn that in. It became a contest of who could copy the fastest and one student even admitted to doing it, but she just didn't care and gave points to the cheaters anyway.

[–] [email protected] 5 points 1 year ago

I swear all lecturer slides are outdated for programming.

[–] MasterBlaster 3 points 1 year ago (1 children)

Thanks for looking that up, because the application exception is the way I originally learned this myself. And I've been doing .net for 20 years.

[–] JustANoone 2 points 1 year ago (1 children)

Do you guys still use it in practice though? I have never seen or heard about this until now.

[–] MasterBlaster 2 points 1 year ago

I don't create many exceptions in c#. The way I handle errors doesn't require it for (damn near) everything. Java makes throwing named errors more important, and consequently I wrote more for Java.