How Can You Unit Test as a Game Dev
In part one of this article, let’s dig a little deeper because anecdotally, the answer I’ve received has always been one-sidedPhoto by Javier Martínez on Unsplash“Games can’t be unit tested.” — EveryoneBut coming from a decade of software engineering experience before entering the world of game development, this statement baffles me. I would
Read moreHow to Use CSS aspect-ratio
Learn how to use the CSS aspect-ratio property, with practical examples, alternatives for older browsers, and other useful things to know. Continue reading How to Use CSS aspect-ratio on SitePoint.
Read moreWhy Tailwind CSS Became So Popular: A Developer’s Guide
Exploring the rise of the utility-first CSS framework that’s changed the gameContinue reading on Better Programming »
Read moreHow To Use Texture Arrays in WebGL
Creating texture arrays in JavaScript and WebGL for tilemaps and animationsContinue reading on Better Programming »
Read moreTrying NLP on Middle English
It’s not fair to evaluate NLP software on a language it wasn’t designed to process, but I wanted to try it anyway. The models in the spaCy software library were trained on modern English text and not on Middle English. Nevertheless, spaCy does a pretty good job of parsing Chaucer’s
Read moreGotchas in Per-App Language Preferences and Android Locale
These are not the droids you are looking forAndroid has a curious way of handling locale.With the introduction of per-app language preferences, things have gotten even more complicated.This article won’t go deep into explaining the nooks and crannies of localization. Better blog posts (and the actual Android documentation) exist for that.Theory is boring
Read moreStubborn vs. Strategic: Navigating Problem Solving in Software Development
Image generated by MidjourneyTwo captivating figures often emerge in software development: the Stubborn Stumper and the Strategic Solver. Picture the Stubborn Stumper, a seasoned developer with grit in his eyes, fervently hammering at the keyboard as if it were an anvil, relentlessly seeking the elusive solution. We’ll call him Benjamin.“There’s
Read moreClean Code Is Slow, but You Need It Anyway…
Beware! Clean Code can clean anything. All images from UnsplashIn case you haven’t heard, something really interesting is happening in the programming/software development scene on Twitter. It started from one of Casey Muratori’s videos on Performance Aware Programming. It is aptly titled: “Clean Code, Horrible Performance.” It stemmed from Casey’s own
Read moreComplete Guide on React Error Boundary
Write your own error boundary or use react-error-boundaryContinue reading on Better Programming »
Read moreExtending harmonic numbers
For a positive integer n, the nth harmonic number is defined to be the sum of the reciprocals of the first n positive integers: How might we extend this definition so that n does not have to be a positive integer? First approach One way to extend harmonic numbers is
Read more