June 25, 2020 at 12:47 pm
"Simplicity is the ultimate sophistication" Leonardo da Vinci.
Rick
Disaster Recovery = Backup ( Backup ( Your Backup ) )
June 25, 2020 at 1:18 pm
June 25, 2020 at 1:51 pm
I read two pages of this thread, nodding my head in agreement, before I realized it was over ten years old.
To this day I still find programmers who are unable to answer a simple question: "Why are you doing it this way?"
June 25, 2020 at 3:08 pm
As I was reading this editorial I found myself nodding in agreement again and again, and at the end find it is another gem from Mr. Factor. Our team is in the midst of a very large project, and I find myself increasingly using this approach, paradoxically perhaps because we are pressed for time. It is granular, ensures the logic is easy for another person to follow, and I am 'certain' is pretty much just as fast as anything I might write if I had more time to burn.
October 2, 2020 at 12:59 pm
From Donald Knuth & Sir Tony Hoare:
Computer Programming as an Art (1974)
1974 Turing Award Lecture, Communications of the ACM 17 (12), (December 1974), pp. 667–673
The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.p. 671
__________________________________________________________________________________________________________
How to Post to get the most: http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 2, 2020 at 4:11 pm
From Donald Knuth & Sir Tony Hoare:
Computer Programming as an Art (1974)
1974 Turing Award Lecture, Communications of the ACM 17 (12), (December 1974), pp. 667–673
The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.p. 671
First rule of a skilled programmer is to start THINKING long before you start to write code. Optimization is so much simpler and quicker if done BEFORE coding.
Rick
Disaster Recovery = Backup ( Backup ( Your Backup ) )
October 2, 2020 at 4:49 pm
From Donald Knuth & Sir Tony Hoare:
Computer Programming as an Art (1974)
1974 Turing Award Lecture, Communications of the ACM 17 (12), (December 1974), pp. 667–673
The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.p. 671
While I agree with Knuth's parable, I think that too many people have misunderstood it. It does NOT mean that you don't have to concern yourself with efficiencies or doing things the right way. For example, creating tables with NVARCHAR(256) or NUMERIC(18,0) for all the column is a very bad thing. Don't confuse "premature optimization" with meaning that you don't have to concern yourself with doing things the right way.
As I tell people, if premature optimization is the root of all evil, what is the result of "no optimization"?
We all know the answer to that question. 😉
If it's worth doing, do it right.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 76 through 81 (of 81 total)
You must be logged in to reply to this topic. Login to reply