(From the book, Clean Code, by Uncle Bob Martin.)Which door represents your code? Which door represents your team or your company?
Why are we in that room?
... The answer is: craftsmanship. — Uncle Bob Martin
I am on probably my fourth or fifth version (hopefully a final version) of my software. — Steven
I feel your pain.I don't get away with zero documentation/notation but I am pretty much to minimum documentation/notation. I had to abandon hundreds of hours of code in order to write better code. — Steven
/(If you want to know how it works, I'd be happy to show you.) — Dave Schwartz
What language are you using, Dave? — RanchWest
I don't know if you've done any object-oriented programming, but one thing that is nice is being able to store data in an object and access it. Makes it easier to make a calculation one time and be done with it, just access the calculated value. — RanchWest
My point about OOP is that it provides a way of holding values and accessing them without recalculation. Of course, that can be done with static variables inside a function. And there are various ways of pushing, popping or accessing those stored values. The key is to not recalculate every time you need the value and I admit to being bad about doing that. But, I have been good about sharing the code that is the basic framework for many of my calculations. — RanchWest
Forum Members always see the latest updates and news first. Sign up today.