Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
dfox442864yGreat first rant! I'm curious to hear what happens when you talk to him :)
Hultan704934yI have been coding c# for fifteen years now and I had to google the dynamics keyword and I still don't see a use for it :-)
epse39464y"what his arguments are" you got me there
JaggerJo9654yKeep us updated ;)
ObjSal3064yWhat did he say?
Rabb7124yWow, that's a special kind of hell.
Meei1264ySo a bit of an update:
I talked with him about it today and his reason was that he wanted the test to be readble, usable for "non-developers" and you shouldn't have to care about types or objects.
But it didn't get as bloody as I though it would be and we had a lot of similar thoughts about other things. So in the end we're gonna change all dynamics and create regular objects.
The problem is that I think he still think the dynamic-keyword-design is a good thing. But I will let the people in his next group handle that.
As for the dynamic keyword in it self (as some asked why anyone would use it), I haven't used it much myself but it can be cool to use togheter with the DynamicObject class.
Blacula1804yAbsolutely crazy... I almost hate Tuples just as much.... Maybe give ReSharper a bash, might help with some intellisense and has great refactoring utilities.
I know it can create concrete classes for anonymous types quite quickly, but don't know if it will survive that level of absurdity
bweston1644yI find that seniors at my place struggle to right good code too. It's like they've got where they need. I have one next to me who does 80% play and 20% work (the most terrible work) plus you'll find they don't want to move forward and learn new tech... the day I get to vent to him to his face will be an awesome day.