Your code may be elegant, but mine works
omniti.com
Your code may be elegant, but mine works
1–10 of 174 posts
Re: Your code may be elegant, but mine works
#2Re: Your code may be elegant, but mine works
#3This service is temporarily (and ironically) unavailable.
Re: Your code may be elegant, but mine works
#4Re: Your code may be elegant, but mine works
#5Re: Your code may be elegant, but mine works
#6 > If the client needs a Christmas promotion, and you
> deliver the best product in the history of promotions --
> on December 29th -- it's worthless.
Isn't the point to set a deadline that allows the product to be built to a certain standard of quality? If you only ever have time to write untested copy-paste "code that fucking works" then you don't have a problem with your development approach ... unless you're convinced that's the only way to do things.Re: Your code may be elegant, but mine works
#7Anyway it makes a good point that business objectives come before "best practices" which I agree with, but you need to be careful when cutting corners that you don't actually sabotage your business objectives. The real discussion is actually on a risk level: if I cut corner X, I can potentially make revenue Y unless cutting corner X causes a problem and I incur loss Z. Cutting that corner is only good if
P(no problems | cutting corner X) * Y > P (problems | cutting corner X) * Z
If this equation looks tough, it's because it is tough. This is not an easy decision and you really need to be on top of your game to choose correctly. Alternatively, Y must be much bigger than Z and you have some faith in your shortcut. But for most dev work, a lot of the time you're going to be getting that equation wrong if you just guess it and it's why so many experienced devs will tell you not to cut corners.Re: Your code may be elegant, but mine works
#8Re: Your code may be elegant, but mine works
#9Re: Your code may be elegant, but mine works
#10The last part of that statement is troubling, because it happens so rarely. I think a lot of devs want to lean towards more engineering "up-front" because they've been smacked repeatedly with the business reality that the first version of that code is what you're going to be stuck working with, and building on top of, for a long time.