Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Get, set... STOP

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Get, set... STOP

Wikipedia defines Cargo cult programming as "Ritual inclusion of code or program structures that serve no real purpose."

One behavior, deeply embedded into the hearts and minds of many software developers is the creation of getters and setter on entities. It' so widespread that IDEs have tools to do it automatically.

Why do we do it? Does it serve some purpose or is it just a cargo cult programming ritual?
--------------------------
https://medium.com/we-are-madewithlove/get-set-stop-8f0dcde4323d

Avatar for konrad_126

konrad_126

May 07, 2020
Tweet

More Decks by konrad_126

Other Decks in Programming

Transcript