Raving Genius
  • Impossible
  • Legal
Subscribe
Tagged

Philosophy

A collection of 4 posts

Philosophy

Living Intentionally

Why are you here? What is the point of your existence?

  • Thomas Ingram
Thomas Ingram Aug 20, 2018 • 1 min read
Ruby

Fun With Ruby Enumerators

Yesterday evening for fun I decided to write a factorial method in Ruby. My first attempt looked like this. 5.times.inject(&:*) This is a really elegant solution, and it almost works, but Fixnum#times starts counting at 0. Normally this isn't an issue since n.times is usually

  • Thomas Ingram
Thomas Ingram Oct 21, 2015 • 1 min read
Programming

Functions Versus Methods

When I first started programming, I remember encountering functions and methods. I was familiar with functions from high school algebra, but I had no idea what a method was. They looked similar to functions, and online comments indicated they were essentially interchangeable. When you are getting started, you can think

  • Thomas Ingram
Thomas Ingram Sep 1, 2015 • 1 min read
Programming

Line Limits

(In response to http://www.aaron-gray.com/line-limits/. Aaron is a great guy; let the reader visit his blog and learn from his wisdom.) Yesterday after work I said that hard character line limits (often eighty characters, but not always) were a antiquated relic of the past. This was in

  • Thomas Ingram
Thomas Ingram Mar 3, 2015 • 3 min read
Raving Genius © 2022
Powered by Ghost