Good / funny / useful mnemonic devices?

To support the OSI model right in my head, I came up with silly mnemonics:

P . D iddy N ever T akes S , P unk A ss!
(physical, data, network, transport, session, presentation, application)

Similarly, I first studied Perl, I changed (some) regular expression modifiers to:

SIXMOP GC
(as in 6 of what you use to clean the floor, and cleaning the floor goes hand in hand with garbage collection)

Perhaps this may seem a little off topic, but novice programmers flock to this site for help, and mnemonic devices are a great tool for someone who is just learning new technology.

Does anyone else have any convenient mnemonics that have helped them over the years (or at least worth laughing at)?

+3
source share
10 answers

Probably not as witty as the other answers, but what I use is probably once a day.

UNIX , , 2 G rand T heft A uto. GT A .

    ls -lt 2>&1 > /dev/null
+3

undergrad, :

private vs. protected:

" ".

+10

P eople C an't M emorize C omputer I " > cronyms

... .

+5

, - . , ( ) :

B ad b oys r ape o ur y oung g irls, b ut V g ives w illingly

, , , , , , , , , ( 0-9, ).

, , 10 , - , .

: (1%), (5%), (10%)

+3

:

B etty B rown r a o ver y g arden, b ut V ioley G rey w on.t.

( xkcd).

+2

, , :

P lease D o N ot T hrow S ausage P izzas A
(, , , , , , )

A ll P eople S ex T ogether N ight D ay P
(, , , , , , )

+2

^ $... ?

... $ ^

/^some_pattern$/

: : - "^". "$" ( "S" - ).

+1

, ,

R andy M ru I n V U nderpants e X cite G irls

, , , , , -. "M" "G" : P

+1

, .., , , . , North Magnetic North.

G rand m a S ucks. M y G reat A rse.

G rid β†’ M agnetic S ubtract

M agnetic β†’ G rid A dd

Edit: possibly outdated in the GPS world, etc .: P

0
source

Big elephants cannot always understand small elephants. For young children and because.

-1
source

Source: https://habr.com/ru/post/1709266/


All Articles