in reply to Perl mnemonics
It isn't strictly perl, but it comes up doing graphics programming. When I need to remember the coordinate order for a box, I use "terrible" and "later babe" to remember whether the elements go in "top, right, bottom, left" or "left, top, right, bottom" order.
For example, CSS is terrible when you specify borders and margins:
margin: 1em 2em 3em 4em; // is equivalent to: margin-top: 1em; margin-right: 2em; margin-bottom: 3em; margin-left: 4em;
TGI says moo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl mnemonics
by missingthepoint (Friar) on Oct 08, 2008 at 03:27 UTC | |
Re^2: Perl mnemonics
by eighty-one (Curate) on Oct 09, 2008 at 14:03 UTC | |
by TGI (Parson) on Oct 09, 2008 at 15:50 UTC |
In Section
Meditations