The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
i check the generation. it gets checked once. if you're checking generated code more than cursorily after that you're duplicating effort, and in this case that's a huge time waster.
i've been coding for about 32 years, professionally i did for about 20. In that time I've generated a lot of code.
In fact, I don't think I've ever worked on a 3-tier app I didn't have control over that didn't use at least 15% of the middleware code being generated, if not more. At companies like Acrosonic it was a lot more, because we didn't have very many devs, and we had a lot of diverse clients with diverse needs.
If you want to build "vertical applications" for small businesses for example, generated code is your way to do so profitably.
And if you want to architect enterprise apps, generated code is often going to be a part of it, at least if you're dealing with anything redundant.
Edit: I should add that this is going to probably be an intractable philosophical difference between you and I, and I am okay to agree to disagree.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
Var is for programmers with a lack of a sense of commitment.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
BTW, where is this fashion against var coming from?!
Is that from the same people who told us to use F#, that would be a good joke!
Proud var user here...
I mean I heard some people have cognitive problem with it. But I used since it was introduce and it hasn't cause me any discomfort yet. Even in code written by other people. So I have trouble grasping the theoretical potential discomfort that others warm me might affect them stumbling upon a var.