Click here to Skip to main content
15,891,607 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: Was Einstein winking when he said this? Pin
F-ES Sitecore7-Jul-16 3:24
professionalF-ES Sitecore7-Jul-16 3:24 
GeneralRe: Was Einstein winking when he said this? Pin
Mark_Wallace7-Jul-16 4:04
Mark_Wallace7-Jul-16 4:04 
JokeRe: Was Einstein winking when he said this? Pin
den2k887-Jul-16 4:06
professionalden2k887-Jul-16 4:06 
AnswerRe: Was Einstein winking when he said this? Pin
Duncan Edwards Jones7-Jul-16 3:29
professionalDuncan Edwards Jones7-Jul-16 3:29 
GeneralRe: Was Einstein winking when he said this? Pin
den2k887-Jul-16 3:40
professionalden2k887-Jul-16 3:40 
GeneralRe: Was Einstein winking when he said this? Pin
Eddy Vluggen7-Jul-16 3:42
professionalEddy Vluggen7-Jul-16 3:42 
GeneralRe: Was Einstein winking when he said this? Pin
den2k887-Jul-16 3:51
professionalden2k887-Jul-16 3:51 
GeneralRe: Was Einstein winking when he said this? Pin
kalberts7-Jul-16 21:45
kalberts7-Jul-16 21:45 
When I was as Comp.Sci student, one of the professors was really pushing 'descriptive variable names' to the extreme. I happened to look over the shoulder of the brightest guy in our class while he was working on a programming homework: His integer variables were named I00, I01, I02, ..., reals were R00, R01, ... and so on. I was shocked: "Do you really think Prof. C will accept that?"

"Oh, no", he replied, "Before I hand it in to Prof C., I will do a textual substitute, replacing all I01s with 'NumberOfOilCans', all R04s with 'WeightOfEachCanWhenEpty' and so on. But I couldn't possibly work with that kind of names - think of all that extra typing, how long that would take!"

His mental capacity was so that he didn't need any 'descriptive names' - he could easily map from R04 to the concept of WeightOfEachCanWhenEmpty without any visual reminder. Descriptive names are for people with less mental capacity Smile | :)

The only negative thing about his style is that after making his substitutions, the code lines would be 100, maybe 120, maybe 130 characters long. (When substituting, he used really long descriptive names). End-of-line comments would of course end up mis-aligned - but this was in the Fortran days when EOL-comments were non-standard.
GeneralRe: Was Einstein winking when he said this? Pin
den2k887-Jul-16 21:50
professionalden2k887-Jul-16 21:50 
GeneralRe: Was Einstein winking when he said this? Pin
kalberts7-Jul-16 22:07
kalberts7-Jul-16 22:07 
GeneralRe: Was Einstein winking when he said this? Pin
den2k887-Jul-16 22:13
professionalden2k887-Jul-16 22:13 
GeneralRe: Was Einstein winking when he said this? Pin
kalberts8-Jul-16 3:52
kalberts8-Jul-16 3:52 
GeneralRe: Was Einstein winking when he said this? Pin
Kirk 103898218-Jul-16 2:45
Kirk 103898218-Jul-16 2:45 
GeneralRe: Was Einstein winking when he said this? Pin
p51dfltln8-Jul-16 3:07
p51dfltln8-Jul-16 3:07 
GeneralRe: Was Einstein winking when he said this? Pin
jfren4848-Jul-16 4:23
jfren4848-Jul-16 4:23 
GeneralRe: Was Einstein winking when he said this? Pin
den2k888-Jul-16 4:44
professionalden2k888-Jul-16 4:44 
GeneralRe: Was Einstein winking when he said this? Pin
User 592417-Jul-16 3:50
User 592417-Jul-16 3:50 
GeneralRe: Was Einstein winking when he said this? Pin
90823657-Jul-16 4:05
90823657-Jul-16 4:05 
GeneralRe: Was Einstein winking when he said this? Pin
Mark_Wallace7-Jul-16 4:10
Mark_Wallace7-Jul-16 4:10 
GeneralRe: Was Einstein winking when he said this? Pin
marie9157-Jul-16 4:31
marie9157-Jul-16 4:31 
GeneralRe: Was Einstein winking when he said this? Pin
U. G. Leander7-Jul-16 4:41
professionalU. G. Leander7-Jul-16 4:41 
GeneralRe: Was Einstein winking when he said this? Pin
jeron17-Jul-16 5:02
jeron17-Jul-16 5:02 
GeneralRe: Was Einstein winking when he said this? Pin
TheGreatAndPowerfulOz7-Jul-16 5:14
TheGreatAndPowerfulOz7-Jul-16 5:14 
GeneralRe: Was Einstein winking when he said this? Pin
jeron17-Jul-16 5:46
jeron17-Jul-16 5:46 
GeneralRe: Was Einstein winking when he said this? Pin
TheGreatAndPowerfulOz7-Jul-16 5:13
TheGreatAndPowerfulOz7-Jul-16 5:13 

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.