Tom de Bruijn

Syntactic sugar methods in Ruby

Ever hear about Ruby's syntactic sugar, but never knew what it meant or how to use it? In this article we'll explore just how we can use it to our advantage.

- for Ruby Magic

A look at how Ruby interprets your code

A look at how Ruby interprets your code and how you can use this knowledge to your advantage.

- for Ruby Magic

Escaping characters in Ruby

Escaping characters in Ruby can be quite confusing. In this post we'll cover the power of the backslash symbol \ and how you can use it.

- for Ruby Magic

Rescuing Exceptions in Ruby: A Primer

Make sure your exception handling is done right. Get up to speed with this Ruby Magic primer and make sure you only rescue the exceptions you need to.

- for Ruby Magic

Rebasing a complex branch in Git

Some time ago I volunteered to rebase a very complex branch in the AppSignal front-end. Read on how I rebased the branch internally known as `layout-tweaks`, you may know it better as the new AppSignal design.

- on the AppSignal blog

Git prompt to select commits to --fixup

I wrote a small helper for making fixup commits in git and selecting which commit to fixup.

Super fast application switching

Optimize your workflow! Avoid Alt-Tab-bing and switch directly to the application you need. It's faster and you can keep focus on what you're working on.

How Ruby gems work on the command line

Learn how the gems you use actually work on the command line. Good to know when you're building your own.

Benchmarking doesn't hurt

While writing code you might consider one or more alternative implementations, but how do you decide what implementation to go for? Do you base this on style, lines of code or something else? Consider performance as well. How do we know what performs best? Benchmarking!