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

Programmer Humor

32710 readers
774 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 2 years ago (6 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.

[–] MasterBlaster 3 points 2 years ago (2 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 2 years 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 2 years 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.

load more comments (3 replies)