Skip to content

adishavit/equisized_antonyms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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
  • src/dst
  • top/bot
  • get/set
  • old/new
  • min/max²
  • new/del¹⁰
  • add/del¹
  • fix/var
  • head/tail
  • pred/succ
  • prev/curr/next²
  • large/small
  • accept/reject
  • source/target
  • relative/absolute

⁰ 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

Inspiration

Several Twitter threads.

About

A helpful list of antonyms with the same word length

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published