January 22, 2015 by Daniel P. Clark

Learning Your First Programming Language

If the idea of designing software intrigues you; then you’re in the right place.  Often times the things that keeps you from moving forward is the “fear of the unknown”, or simply doubting your ability/capacity to learn.  If programming looks like some big ominous thing and like it’s more trouble than it’s worth, then you…

Continue Reading »

January 1, 2015 by Daniel P. Clark

When to use Ampersand and/or Colon with Proc, Map, and Inject

So with Ruby permitting Procs called on Objects I’ve found sometimes a Colon Method will work, and sometimes you need a Ampersand Colon Method.  For example, when I map &:upcase on a list of strings it works. [“a”,”b”,”c”].map(&:upcase) # = > [“A”, “B”, “C”] But if I try without the Ampersand I get: [“a”,”b”,”c”].map(:upcase) #…

Continue Reading »