Tag: programming
-

Errors and using your ear
A whiteboard interview without test feedback showed how much I lean on tests to catch errors, the same way musicians learn by ear.
-

Procs, lambdas, and performance
Benchmarking blocks, procs, and lambdas in Ruby: blocks lose to method-call overhead, and procs and lambdas stay consistently faster.
-

Ruby vs Python – Speed Comparison
Implementing the Sieve of Eratosthenes in both Ruby and Python to see which one actually runs faster. Python wins.
-

-

Classes in C#
Building the same simple Person class in Ruby and C#, and what that comparison shows about each language’s syntax.
-

Dynamic vs Static
Ruby is dynamic and interpreted, C# is static and compiled. What that difference means for catching errors and picking the right tool.
-

Method/Function in Ruby and C#
Comparing how Ruby and C# handle the same two methods, addition and odd-number checking, and what each language’s syntax trades off.
-

C# and Ruby
Notes on the similarities between C# and Ruby, written while onboarding into a new study group.