Click here to Skip to main content
15,388,820 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralRe: Cosmetic vs More Efficient Pin
jsc424-May-21 23:31
professionaljsc424-May-21 23:31 
GeneralRe: Cosmetic vs More Efficient Pin
Gary Wheeler5-May-21 1:58
MemberGary Wheeler5-May-21 1:58 
GeneralRe: Cosmetic vs More Efficient Pin
W Balboos, GHB5-May-21 2:37
mveW Balboos, GHB5-May-21 2:37 
GeneralRe: Cosmetic vs More Efficient Pin
KateAshman5-May-21 2:27
MemberKateAshman5-May-21 2:27 
GeneralRe: Cosmetic vs More Efficient Pin
W Balboos, GHB5-May-21 2:34
mveW Balboos, GHB5-May-21 2:34 
GeneralRe: Cosmetic vs More Efficient Pin
KateAshman7-May-21 4:25
MemberKateAshman7-May-21 4:25 
GeneralRe: Cosmetic vs More Efficient Pin
Steve Naidamast5-May-21 4:19
professionalSteve Naidamast5-May-21 4:19 
GeneralRe: Cosmetic vs More Efficient Pin
W Balboos, GHB5-May-21 5:21
mveW Balboos, GHB5-May-21 5:21 
Efficiency is not highly overrated, depending upon the type of coding you do.

Even early on I had some molecular modeling code that, when I changed from function (actually subroutine) return values to global values ran about 95% faster. Overnight batch runs became real-time in terms of excitation and planning the next iteration target. OK - long ago with FORTRAN and room-size computers. And time sharing. Some other optimizations were made for I/O timing, as well.

Back to now: doing it right, which means efficient coding, is even necessary for Web-Based applications: whether it's load time for a page (one second or fifteen?) or, far more importantly, optimizing SQL: something which has reared it's head, recently, as the amount of data in tables, especially joined tables, has grown. A stored procedure could even fail do to exceeding the maximum execution time set up (again, 400 users means limits).

So - if all your coding has to handle is small numbers of iterations and much time awaiting human responses it makes no perceivable difference - but good habits pay one back when they don't have to what always seems to be the inevitable future of a good application.

Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: Cosmetic vs More Efficient Pin
Al Gonzalez5-May-21 5:32
MemberAl Gonzalez5-May-21 5:32 
GeneralRe: Cosmetic vs More Efficient Pin
SeattleC++5-May-21 5:57
MemberSeattleC++5-May-21 5:57 
GeneralRe: Cosmetic vs More Efficient Pin
JP Reyes5-May-21 6:35
MemberJP Reyes5-May-21 6:35 
GeneralRe: Cosmetic vs More Efficient Pin
Zuoliu Ding5-May-21 8:08
MemberZuoliu Ding5-May-21 8:08 
GeneralRe: Cosmetic vs More Efficient Pin
W Balboos, GHB5-May-21 8:33
mveW Balboos, GHB5-May-21 8:33 
GeneralRe: Cosmetic vs More Efficient Pin
Zuoliu Ding5-May-21 8:44
MemberZuoliu Ding5-May-21 8:44 
GeneralRe: Cosmetic vs More Efficient Pin
Myron Dombrowski5-May-21 19:43
MemberMyron Dombrowski5-May-21 19:43 
GeneralRe: Cosmetic vs More Efficient Pin
W Balboos, GHB6-May-21 1:44
mveW Balboos, GHB6-May-21 1:44 
GeneralRe: Cosmetic vs More Efficient Pin
Eddy Vluggen6-May-21 9:10
professionalEddy Vluggen6-May-21 9:10 
GeneralRe: Cosmetic vs More Efficient Pin
Gerry Schmitz7-May-21 14:01
mveGerry Schmitz7-May-21 14:01 
GeneralMay the 4th be with you. Pin
AnotherKen4-May-21 5:38
professionalAnotherKen4-May-21 5:38 
GeneralRe: May the 4th be with you. Pin
OriginalGriff4-May-21 6:04
mveOriginalGriff4-May-21 6:04 
GeneralRe: May the 4th be with you. Pin
The Other John Ingram4-May-21 19:41
MemberThe Other John Ingram4-May-21 19:41 
GeneralRe: May the 4th be with you. Pin
jeron15-May-21 7:40
Memberjeron15-May-21 7:40 
GeneralThought of the Day Pin
OriginalGriff4-May-21 4:31
mveOriginalGriff4-May-21 4:31 
GeneralRe: Thought of the Day Pin
W Balboos, GHB4-May-21 6:32
mveW Balboos, GHB4-May-21 6:32 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer4-May-21 7:37
professionalDaniel Pfeffer4-May-21 7:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Have you ever taught anyone to code?
"Teaching" can mean from start to finish, or simply just helping someone learning to code work through a coding issue (like helping with homework or being a support tutor)
And how did it go?
  Results   671 votes