Andrew (he/him)

Andrew (he/him) @awwsmm

About: Got a Ph.D. looking for dark matter, but not finding any. Now I code full-time. Je parle un peu français.

Location:
Ottawa, Canada
Joined:
Sep 15, 2018

Andrew (he/him)
articles - 156 total

There is No Such Thing as a Unit Test

"The terms 'unit test' and 'integration test' have always been rather murky, even by the slippery...

Learn More 116 35Oct 30 '24

Code as Art

Banner Image: Quine Relay -- Copyright (c) 2013, 2014 Yusuke Endoh (@mametter), @hirekoke ...

Learn More 4 0Aug 17 '24

Drop Everything and Review

The Inner and Outer Development Loops Feedback is critical when developing software; the...

Learn More 4 0Apr 24 '24

What Are Const Generics and How Are They Used in Rust?

I was working through an example in the repo for the Bevy game engine recently and came across this...

Learn More 4 0Mar 25 '24

Make Invalid States Unrepresentable

Suppose you have a Person class in your program, and that a Person has an age. What type should the...

Learn More 16 2Feb 2 '24

Start building browser games with Rust!

Interested in gamedev in Rust? Me too! So I put together this bare-minimum tutorial for using SDL2...

Learn More 8 0Jan 15 '24

What This Senior Developer Learned From His First Big Rust Project

cover photo by Pixabay Here is a bit of background on me according to my company's org chart...

Learn More 27 3Jan 9 '24

Software Development is About Compromise

Trade-Offs in Software Development "Where's all my CPU and memory gone?" --...

Learn More 2 0Apr 10 '23

The AI Assistance Paradox: How ChatGPT Helps, But Can Never Replace Human Ingenuity in Programming

Programming is a unique and rewarding field that demands a combination of technical skill and human...

Learn More 3 1Apr 8 '23

Elegant Multi-Line Shell Strings

Photo by Wendy van Zyl from Pexels The State of Multi-Line Strings Multi-line...

Learn More 16 3Mar 18 '22

What's Wrong This Time? Part III: The Deep End

Photo by Cristian Palmer on Unsplash Part III: The Deep End At this point, I wasn't sure where to...

Learn More 6 0Mar 6 '22

What's Wrong This Time? Part II: Electric Bugaloo

Part II: The Bugs There's an old programming joke that goes something like There are only two hard...

Learn More 16 5Jan 23 '22

What's Wrong This Time? A Debugging Mystery in Three Parts

Photo by Markus Winkler on Unsplash Part I: The Idea "I have an idea"*, I said to...

Learn More 7 0Jan 16 '22

What's the Difference Between Nominal, Structural, and Duck Typing?

Photo by Ian Taylor on Unsplash Nominal Typing Most major programming languages with...

Learn More 20 3Jan 9 '22

Eliminate Unnecessary Builds With Git Hooks in Bash, Java, and Scala

Photo by Liza Summer from Pexels Writing a Git Hook in Bash Git Hooks can be a very...

Learn More 12 3Jan 2 '22

Rewriting My Personal Website in Next.js and TypeScript

New Year's Day is as good a time as any to roll out a new blog, I suppose. As one of my New Year's...

Learn More 20 0Jan 2 '22

How I built 4 blogs in 15 minutes

Static Site Generators (SSGs) are a quick and easy way to get a simple blog up and running...

Learn More 144 19Dec 10 '21

What is a Functor?

Photo by ArtHouse Studio from Pexels Intro The term functor comes from category theory...

Learn More 16 0Nov 28 '21

(Kinda sloppy) Monad-based Options in Scala

Worked on this one for a while today. What do you think? What would you change? There's a bit of a...

Learn More 3 0Nov 23 '21

Is your website mobile friendly?

...find out here, using this free tool from Google. If your page isn't live on the web, you can also...

Learn More 15 2Nov 23 '21

Playing around with browser cookies in Scala.js

Photo by Laura James from Pexels I spent this weekend playing around with Scala.js and learning...

Learn More 9 0Nov 21 '21

What does "functional programming" mean to you?

Photo by Magda Ehlers from Pexels What crosses your mind when you hear the phrase "functional...

Learn More 16 0Nov 18 '21

Creating audio from raw bits in Scala

I was curious recently if it was possible to create sound in pure Java / Scala, without using some...

Learn More 11 2Nov 6 '21

Publish your Scala project to Maven in 5 minutes with Sonatype

Intro Say what you will about JavaScript, but npm has made it incredibly easy for anyone...

Learn More 7 5Jul 13 '21

Understand Type Variances in 30 Seconds

Type variances are a topic which most Java developers don't usually think about, but which can take s...

Learn More 18 0Aug 9 '20

Types vs. Classes

Some languages (Java in particular) blur the line between types and classes. You may even see them us...

Learn More 37 0Aug 9 '20

Implementing a Ternary Operator in Scala

Photo by Magda Ehlers from Pexels Scala doesn't have the traditional ternary operator from Java...

Learn More 26 6Jun 26 '20

5 Tips for Writing Articles People Will Want to Read

Photo by Daria Shevtsova from Pexels 60-70% of links shared on social media aren't read by the...

Learn More 201 18Jun 19 '20

Today I Learned: Pointer Swizzling

"In computer science, pointer swizzling is the conversion of references based on name or position to...

Learn More 25 1Jun 16 '20

What's your most embarrassing coding story?

Photo by Anna Shvets from Pexels When you're new to something (like programming), you tend to look...

Learn More 60 43Jun 15 '20