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
-
1. why would you do this
2. why not take 5 steps back and do something that doesn't need reflection when you're about to write this
3. why not NAME THE FUCKING TYPE IN THE MESSAGE -
- parent class has no parameterless ctor
- descendants must have parameterless ctor
I am forced to pass null to a parameter that is not explicitly documented as nullable. I'm gonna set something on fire and you best hope it's a cigarette. -
@donkulator Arguably container-style Option would've been a better choice because it works better with generics, but I think null is a big enough problem that a solution that works most of the time is still desirable.
Related Rants
-
frozenjalepeno14Okay, just because I'm the only one under 35, single, and only white/hispanic guy on this team doesn't give yo...
-
DBX125Developers created IDEs with intelligent code completion and languages provide users with an annotation syntax...
-
myss13
This is response I got from my ex tech lead in a company that I left six months ago.. Btw account is register...
My new favourite RUNTIME c# error, evidently thrown by the standard library because the string is not present in the project:
"no parameterless constructor defined for this object"
rant
amateurs
duck typing