News for hackers. Stuff that matters.
Re:What coding mnemonics do you use? by karka91 on Wednesday August 07, 2013 @08:25AM (#6172282)
I find it hard to believe that someone actually mixes these unless they completely skipped all math classes in school.
Re:What coding mnemonics do you use? by anonymous on Wednesday August 07, 2013 @08:53AM (#6172416)
Ah, yes the "I can't fit it to my mental model, therefore it is impossible" argument.

When little, my brother used to mix up the words "more" and "less" while speaking. I don't doubt someone could mix up > and <.

Re:What coding mnemonics do you use? by Chris2048 on Wednesday August 07, 2013 @01:18PM (#6174128)
It's easy. They're alligator mouths, that always go for the larger number (greedy alligators!)...
Re:What coding mnemonics do you use? by ronaldx on Wednesday August 07, 2013 @08:46PM (#6176674)
This genuinely confused me because I thought the larger number would eat the smaller number.
Re:What coding mnemonics do you use? by Chris2048 on Wednesday August 14, 2013 @05:53PM (#6214567)
The alligator is just the symbol, ignoring the smaller number completely.
Re:What coding mnemonics do you use? by blablabla123 on Wednesday August 07, 2013 @09:52AM (#6172786)
I used to mix it up in elementary school because the school teacher explained that "<" is "less" and ">" is "more". Even worse, she suggested to memorize it like this: |<leiner = kleiner (german, meaning less)

At some point I realized it's possible to memorize it visually, since then I never mixed it up again

Re:What coding mnemonics do you use? by inthewind on Friday August 16, 2013 @04:33AM (#6222816)
Yeah people frequently mix up left and right also. And my brother always wrote his numbers backwards or rather left to right (units on the left).
Re:What coding mnemonics do you use? by taejo on Wednesday August 07, 2013 @08:34AM (#6172323)
I remember several kids in my class having great difficulty with < and > when they were first introduced. I can well imagine many of them just decided it was impossible and gave up.
Re:What coding mnemonics do you use? by PeterisP on Wednesday August 07, 2013 @03:53PM (#6175172)
Was it possible to give up? In my place, they wouldn't be let on to the next grade if they'd fail basic math - i.e., they'd spend the summer repeating it + an extra year in the same grade if that wasn't enough; so it would have to be a real exception to see a 10 year old who can't somehow manage that.

Anyways, the classic mnemonic for that was simple - for < and > the wide part contains more 'thingies' than the narrow part. They're actually taught before numbers or together with numbers, like [pic of four strawberries] > [pic of three strawberries].

Re:What coding mnemonics do you use? by vickytnz on Wednesday August 07, 2013 @05:28PM (#6175771)
I was taught the crocodile thing, but had real issues with it: I can think it through but it's not fast. I'm pretty much ambidexterous (i.e. write with left and catch a ball with my right) so while I can do quite a lot of things with both hands I also have problems with left and right!