Skip to content

adishavit/equisized_antonyms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 

Repository files navigation

Equal Sized Antonyms

A helpful list of antonyms with the same word length for your everyday variable names:

  • lo/hi
  • up/dn
  • rd/wr
  • beg/end
  • bid/ask
  • fst/snd/lst (first/second/last)
  • lhs/rhs (left/right hand side)
  • src/dst
  • top/mid/bot
  • get/set
  • old/new
  • min/mid/max²
  • new/del¹⁰
  • add/del¹
  • fix/var
  • one/any/all/non/nil
  • yay/nay
  • give/take
  • head/tail
  • less/more
  • play/stop
  • pred/succ
  • prev/curr/next²
  • push/pull
  • this/that
  • true/fake
  • yeah/nope
  • east/west
  • below/above
  • fresh/stale
  • north/south
  • start/pause/break
  • sugar/spice
  • large/small
  • lower/upper
  • allow/block
  • inner/outer
  • include/exclude
  • accept/reject
  • permit/refuse
  • permit/forbid
  • permitted/forbidden
  • create/insert/remove/delete
  • encode/decode/verify
  • source/target
  • unique/shared
  • primary/counter
  • relative/absolute
  • producer/consumer
  • positive/negative
  • increment/decrement
  • permanent/temporary

⁰ C++ keyword, cannot be used as an identifier
¹ Python keyword, cannot be used as an identifier
² Python builtin, should not be used as an unqualified identifier, but ok as member

Equisized Non-Antonyms

  • get/got/gen (gen for generate)
  • width/depth
  • length/height

Oddballs

  • OK/NG
  • this->/other.
  • localhost/127.0.0.1 😂

⁰ the "NG" initials are commonly used in Japan for "Not Good"

Inspiration

Several [Twitter] [threads] [1].

About

A helpful list of antonyms with the same word length

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published