Here is my Hello World, my first post on this new blog. Last week, I moved to NYC and started classes at the Flatiron School. There’s tons I could write about that, but for now, I’ll just share some of my notes: a cheatsheet of Ruby methods and iterators — complete with color coding…
Part of my series of easy primers on methods to eliminate code smell: needlessly lengthy or complex code.
Code smell: You’re executing some action on a variable, and then have to return the variable in a separate step.
Code smell: You’re performing a mathematical function on a series of numbers (like adding or multiplying) and returning…
Last week, I was asked to drop back in to the Flatiron School to participate in a small alumni panel about the job-seeking process. The latest cohort of new grads embarks on the job hunt this week. Being there and hearing their questions reminded…
Code smell: You’re creating an empty hash or array. Then you’re iterating over another hash or array to…
Programmers in general and Rubyists, I think, in particular, revere elegance in code — which means clarity and brevity, along with (obviously) functionality. Needless repetition or complexity is called “code smell.” And in Ruby, if you find yourself taking multiple steps to do something very common — like go…
A World So Phi-ne