CodeX
Published in

CodeX

VOL 2: Syntactic Sugar, Sharp Knives, and Ruby Magic

Ruby, Pawel Olek

What is Ruby Magic?

The 9 Pillars of The Rails Doctrine

  1. Optimize for programmer happiness
  2. Convention over Configuration
  3. The menu is omakase
  4. No one paradigm
  5. Exalt beautiful code
  6. Provide sharp knives
  7. Value integrated systems
  8. Progress over stability
  9. Push up a big tent
Krzywda 2020

Syntactic Sugar

if apple_stock > 1:eat_appleelse:buy_appleend
apple_stock > 1 ? :eat_apple : :buy_apple

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store