E Ferragamo 43 Radica Salvatore Derby Lace Up Brown Leather Men's Craig 10 Shoes Logo Oxfords Creator of Ruby on Rails, Founder & CTO at Basecamp (formerly 37signals), NYT Best-selling author of REWORK and REMOTE, and Le Mans class-winning racing driver.

Derby Brown E 10 Craig Logo Leather Salvatore Men's Lace Oxfords Shoes 43 Radica Up Ferragamo wz75qCS

Shoes Ferragamo Oxfords 10 Salvatore Logo 43 Up Leather Brown Radica E Derby Lace Craig Men's It’s always better to be explicit! That’s pretty much a programming truism. Rarely directly challenged, lest one betray the foundational tenors of Proper Programming. But challenge it we should, and head on.

The standard justification for being maximally explicit is a kind one. Give a programmer looking at the code everything they need to understand how it works, right there, as if they knew nothing already. It’s an optimization for fresh eyes, those who see without knowing a surrounding context.

Lace Shoes Oxfords Leather Up Salvatore E Logo Brown Craig 43 Ferragamo Radica 10 Derby Men's So to challenge explicitness as a core value, we need to start by questioning that optimizing for those fresh eyes. Should their needs really to be the main objective for a programming environment?

It could be. If you expect to have rapid churn of the people working on the code, it’s a fair trade to burden those who’ve acclimated with laborious ceremony, if it means those fresh eyes will have an easier time.

That’s a value judgment based on circumstance and experience. To value the experience of the newcomer at the expense of the productivity of the veteran and the succinctness of the code. In some environments, that’ll be the reasonable choice.

But that’s not the environment I’m interested in. At all. I love implicit code, or, as we call it in Ruby on Rails, Convention over Configuration. Consider this tiny snippet of code:

class Person < ApplicationRecord
 belongs_to :company
Craig Oxfords Up Leather Salvatore Brown Lace Logo Derby Shoes 10 43 Ferragamo Radica Men's E Derby Men's 10 E Leather Brown Up Logo Shoes Lace 43 Ferragamo Oxfords Craig Salvatore Radica
 has_many :assignments

This beautiful excerpt is bursting with implicitness. Just on the database side, it implies that there’s a “people” table backing the “Person” record. It implies that there’s a single “id” primary key for that table. It infers that there’ll be a “company_id” foreign key linking rows in “people” to rows in “companies”.

Here’s an explicit version that expands those contextual assumptions:

class Person < ApplicationRecord
 table_name “people”
 primary_key “id”
belongs_to :company, foreign_key: “company_id”, class_name: “Company”
Radica 43 Lace Derby E Brown Men's Craig Salvatore 10 Shoes Logo Leather Oxfords Ferragamo Up
 has_many :assignments, foreign_key: “person_id”, class_name: “Assignment”

And that’s just the tip of the iceberg. It doesn’t even talk about the implicit validation of a belongs_to relationship or the introspection of columns to create attribute methods.

43 Lace Oxfords 10 Up Brown Salvatore Radica Ferragamo Leather E Shoes Men's Derby Logo Craig I’d hate to have to write explicit code like that all day, every day. I’m willing to trade the need for someone to learn the conventional context of Active Record in favor of being able to write succinct, clear, and, yes, implicit code. Slightly higher upfront costs, perhaps, but amortized over a lifetime of working with Rails.

43 Lace Up Men's Craig Ferragamo Salvatore Brown Derby 10 Logo Shoes Radica Oxfords Leather E This gets to the heart of examining the values of programming environments. A value stated in isolation does not illuminate. Saying “I like explicit code” without also accepting that this means “I like [writing a lot more, often repetitive, frequently boiler-plated] explicit code” is a disingenuous. Values only shine the light for choices when they’re voiced in opposition to different values that others might reasonably prefer.

It’s the same story with product values. If you say your product is “simple” or “easy”, you’re rarely saying much. Few are the competitors who’d take the opposite side of that plank, selling products that are “complicated” and “hard” (though it does happen occasionally!).

To carve out a meaningful, effective Brown Blahnik Manolo 36 Crocodile 480355 Slingback Pumps 6UAnxg, you must be willing to give up something. To embrace explicit code, you must be willing to accept laborious ceremony and the boilerplate. To embrace implicit code, you must teach the context and unpack its at-first bewildering magic.

I embrace implicit code. I embrace the context. I swoon over magic. If you too fancy such sparkle, Ruby on Rails will probably resonate. If not, no worries, most other programming environments pledge allegiance to the defeat of magic and oppose the implicit. Pick your poison.