Josh Saint Jacque·Mar 4, 2020GitHub Issue Link GeneratorSometimes you need a lightweight way to prefill a GitHub issue. I found myself in that position recently and wanted a quick-and-dirty way…
Josh Saint Jacque·Mar 3, 2020Reacting to Code Smells: BloatersIf you’re a developer, chances are you’ve heard of code smells. Something in the code that might indicate a problem with its design that…
Josh Saint Jacque·Aug 25, 2017Debugging a Mobile-Only JS ErrorEveryone once in a while I’ll discover that there’s a JavaScript error that only reproduces on a specific device, usually a phone or…
Josh Saint Jacque·Aug 22, 2017Small Functions Considered AwesomeThis article is in response to one posted a few days ago by Cindy Sridharan, in which she makes some really well-reasoned arguments about…A response icon2A response icon2
Josh Saint Jacque·Jul 14, 2017Algorithms Exercise: Find the First Duplicate in an ArrayToday’s algorithm comes from code fights. It’s a challenge called firstDuplicate and it goes like this:A response icon5A response icon5
Josh Saint Jacque·Jun 27, 2017Ruby & The Strategy PatternThe Strategy pattern is the next in our examination of design patterns and how they can be leveraged in Ruby. This pattern is useful for…A response icon2A response icon2
Josh Saint Jacque·Jun 12, 2017Design Patterns & Ruby: The Template Method PatternOn design patternsA response icon3A response icon3
Josh Saint Jacque·May 31, 2017Finding the right place to start refactoringRecently I’ve been trying to improve the quality of a large Rails monolith. Hundreds of models, some thousands of lines long, and lots that…A response icon1A response icon1
Josh Saint Jacque·Apr 18, 2017What’s the problem with long methods?Over the last couple months I’ve found myself really enjoying some programming books around design patterns and refactoring. In particular…
Josh Saint Jacque·Apr 14, 2017Resolving Merge Conflicts in Binary FilesI had this come up today and thought it might be useful for someone else.A response icon1A response icon1