Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
xsacha4317yThe UI looks like it was designed before .NET existed.
If they had more than 5 colours available, why did they only use 5?
Did someone handmake that table? -
I am a bit amused every time I see an error message like "unexpected error". I mean like, are there any "expected" errors? :)
-
xalez19377y@TerriToniAX I guess something like try { connection.Open(); } catch(TimeoutException ex) {} would make the timeout an expected error .. connection.Open(); on its own would make the timeout an unexpected error
-
@xalez Technically yes but I was thinking on it from a more humanistic/philosofical perspective. Is an error ever expected to the user? And if an error is expected to the dev, then is it an error?
-
xalez19377y@TerriToniAX probably not to most users, but to a dev an error can be expected in terms of "I think this error might happen at some point and I better handle it somehow" .. but it is still an error because it will disrupt the normal behaviour of the system (e.g. the data will not be saved and the user will be asked to try again later)
an unexpected error is one that disrupts the behaviour but the dev never thought it might happen and didn't handle it -
Happens, when you compile it as Debug.
Compile it as Release and it will crash on an exception :D
Related Rants
When you see .NET exceptions making their way into Indian Railways!
Damn that was unexpected!
undefined
windows 7
.net
indian railways
surprise