News for hackers. Stuff that matters.
Re:What coding mnemonics do you use? by hill79 on Wednesday August 07, 2013 @06:41AM (#6171894)
I never remember that . = class and # = id in CSS, so I use "say no to drugs" to remember that "hash is not class".

Perhaps a mnemonic which only really works in the North East of the UK where 'class' is colloquial slang for 'good'. Also not very good if you smoke pot, I guess.

Re:What coding mnemonics do you use? by vickytnz on Wednesday August 07, 2013 @05:34PM (#6175815)
I also took it to mean that it's not classy to smoke hash (i.e. 'you stay classy, San Diego' :D)
Re:What coding mnemonics do you use? by Toadsoup on Tuesday August 13, 2013 @04:23PM (#6208045)
I remember the difference between class and id by thinking someone is trying to "Pound an idea into your head" or rather "# an id"
Re:What coding mnemonics do you use? by raverbashing on Wednesday August 07, 2013 @08:14AM (#6172234)
Just remember that a hashtag points to something specific. A dot means nothing, so that's the least specific/most generic thing
Re:What coding mnemonics do you use? by nakkiel on Wednesday August 07, 2013 @07:26AM (#6172039)
Strange one. FYI, "class" has the same meaning in French slang -- probably borrowed from you guys.
Re:What coding mnemonics do you use? by scrapcode on Wednesday August 07, 2013 @08:32AM (#6172307)
I think it's the other way around. I think you guys use _class_ as slang to _classy_: "pertaining to or characteristic of a (high) class," which comes from the literal sense of class, which comes from the French word _classer_.

I didn't know for sure, but I had that feeling knowing that most of the English language is borrowed from others, and not the other way around. (http://www.etymonline.com/index.php?allowed_in_frame=0&searc...)