Anton Symmetry is back (or why related concepts should have the same number of letters)

I love vertical alignement. It improves legibility by emphasizing both identical and distinct patterns. It also eases diff tracking.

Compare:

if (  thisVariable1   == thatVariable1
   || thisVariable2   == thatVariable2
   || longerVariable3 != thatVariable3 )

with:

if ( thisVariable1 == thatVariable1 || thisVariable2 == thatVariable1 || longerVariable3 != thatVariable3 )

See what I have done?

So, I was wondering about fellow terms in programming sharing the same length. On the top of my hat:

  • Graph:
    • node leaf
    • source target
    • next curr prev
  • Collections:
    • list dict vect hash
    • seq set map (Maybe seq and set are too close?)
    • head tail
    • append remove
    • add del
    • premier dernier
  • Arithmetic:
    • add sub mul div
  • Display:
    • lft rgt top bot
    • hei len wid (avoid mispelling)
    • red blk
    • show hide
  • Miscelaneous
    • load save
    • peek poke
    • hi lo (go friendly)
    • slaves master (P.C. unfriendly)
    • export import
Bonus: Category Theory (the longest list of categories sorted by name length you'll find on this side of internet):
  • Alg[^1] Algebras
  • Aut Automata
  • Ban Banach spaces with linear contractions
  • Beh Behaviors
  • Boo Boolean algebras
  • Bor Bornological spaces
  • Cat Small categories
  • CAT Categories
  • Grp Groups
  • Lat Lattices
  • Loc Mocales
  • Mat Matrices (as morphisms)
  • Met Metric spaces and non-expansive maps
  • Mod Modules
  • Mon Monoids
  • Ord Ordinal numbers
  • Pos Partially ordered sets = posets
  • Reg Regular topological spaces
  • Rel Relations
  • Rng Rings
  • Set Sets
  • Sgr Semigroups
  • Spa(T) T-spaces
  • Sym Symmetric relations
  • Top Topological spaces
  • Vec Vector spaces
  • CBoo Complete boolean algebras
  • CLat Complete lattices with join- and meet-preserving maps
  • Clos Closure space
  • Comp Compact spaces
  • Conv Convergence spaces
  • ΔPos Δ-complete partially ordered sets
  • DLat Distributive lattices
  • Fram Frames
  • Grph Oriented graphs
  • Haus Hausdorff spaces
  • hTop Topological spaces and homotopy equivalence classes of maps
  • JPos Posets and join-preserving maps
  • kTop (Compact Hausdorff)-generated topological spaces
  • Metc Metric spaces and continuous maps
  • Metu Metric spaces and uniformly continuous maps
  • PAlg(Ω) Partial algebras of type Ω
  • pGrp Pointed groups
  • PMet Pseudometric spaces
  • Prox Proximity spaces
  • pSet Pointed sets
  • pTop Pointed spaces
  • Reg1 Regular T1 topological spaces
  • Rere Reflexive relations
  • Simp Simplicial complexes
  • SLat Semi-lattices
  • sTop Sequential topological spaces
  • TfAb Torsion-free abelian groups
  • Top0 T0 topological spaces
  • Top1
  • Topm Metrizable topological spaces
  • Tych Tychonoff spaces
  • Unif Uniform spaces
  • AbTop Abelian topological groups
  • AbTor Abelian torsion groups
  • To Be Continued...

Source: The joy of cats

Regrettable exceptions:

  • list set dict (Replace set by band, camp, clan or crew. "Crew theory" would be fun.)
  • true false (vrai/faux, t/f)
  • first last
  • begin end
  • push pop
  • child parent (son/dad, kid/mum, enfant/parent, branch/parent, ramification/fountainhead)

[^1] I cheated.

Comments