The fact that programmers can't remember well illustrates why children shouldn't be chastised for getting (for example) b and d wrong. I have dealt with this by conditioning myself to always read < as 'is less than'
What coding mnemonics do you use?
31–40 of 88 posts
Re: What coding mnemonics do you use?
#32.unshift - makes it bigger. Longer word than .shift .shift - makes it smaller. Shorter word than .unshift
"Shift" will shift everyone up one, bumping someone off the start of the row.
Re: What coding mnemonics do you use?
#33The fact that programmers can't remember well illustrates why children shouldn't be chastised for getting (for example) b and d wrong. I have dealt with this by conditioning myself to always read < as 'is less than'
Re: What coding mnemonics do you use?
#34When working with axis - "X is a-cross"
Re: What coding mnemonics do you use?
#35ReturN - R before N
Re: What coding mnemonics do you use?
#36The fact that programmers can't remember well illustrates why children shouldn't be chastised for getting (for example) b and d wrong. I have dealt with this by conditioning myself to always read < as 'is less than'
I find it hard to believe that a statistically normal programmer mixes up . That sounds more like dyslexia.
I'm sure I spent many hours fixing bugs caused by getting wrong.
Re: What coding mnemonics do you use?
#37so if you are trying to remember what order the arguments to strcpy go, it's
strcpy(x,y) is like x = y
Then remember specially that typedef is the wrong way around to the way you would like it to be :)Re: What coding mnemonics do you use?
#38Earlier quoted context omitted.
I find it hard to believe that a statistically normal programmer mixes up . That sounds more like dyslexia.
I was surprised to see that as an example as well, but then I thought back to starting out as a programmer. I'm sure I spent many hours fixing bugs caused by getting wrong.
Re: What coding mnemonics do you use?
#39are pretty easy. The big side (the mouth) points to the larger number because that it what it wants to eat.
Re: What coding mnemonics do you use?
#40LoVe HAte when ordering psudeo classes in css for anchors* ":link, :visited, :hover, :active" *may not be particularly weird or novel
I heard "Las Vegas Hells Angels" and it's stuck with me.
'Naughty Llama Holidaymakers Book Lovely Vacation Homes from AirBNB'
= N.L.H.B.L.V.H.A = 'not Love Hate but Las Vegas Hells Angels'.