Swizec Teller - a geek with a hatswizec.com

Senior Mindset Book

Get promoted, earn a bigger salary, work for top companies

Senior Engineer Mindset cover
Learn more

    Swizec's articles in the "programming" category

    I aim to write mindblowing emails with real insight into the career and skills of a modern software engineer. "Raw and honest from the heart!" as one reader described them.

    Below are 94 articles filed under programming. Enjoy ❤️

    useCallback is a code smell

    One of my favorite ways to simplify and de-gotcha React code is to rip out all the useCallback and useMemo drama. 90% of the time you don't need it.
    September 16th, 2022

    If it works together, it lives together

    Wherein I use LEGO to talk about organizing your code for ease of use
    September 5th, 2022

    Why others' code is hard to navigate

    Some people like to organize code in files and folders and neat categories. Others love search. When they work together, that's the challenge.
    September 1st, 2022

    Your code doesn't matter

    "Your code doesn't matter" is something experienced programmers say, between the lines, when they sound like complete lunatics. But what do they mean? Why does everyone say it?
    August 16th, 2022

    Move your business logic into data

    The quickest way to simplify a complex function with lots of logic is to turn it into data. A lesson from production
    August 3rd, 2022

    Small choices can wreck your codebase

    wanna see the strangest looping construct I've found in production code?
    December 3rd, 2021

    Stop SHOUTING = 'shouting'

    A hill I will die on 👉 global CONSTANT = 'constant' are bad
    September 21st, 2021

    Slack lied to me


    August 25th, 2016

    My old code is atrocious


    November 12th, 2013

    My very own daily WTF


    January 10th, 2013

    Testing socket.io apps


    November 30th, 2012

    Webcamp Zagreb report


    November 27th, 2012

    Game development in Webgl


    November 19th, 2012

    Cool thing Thursday: Ceylon


    September 27th, 2012

    I wish this existed


    March 23rd, 2012

    The commonest javascript bug


    February 24th, 2012

    This Haskell is wrong. Why?


    January 20th, 2012

    Learning me a Haskell


    December 23rd, 2011

    The problem with threads


    December 21st, 2011

    Fun javascript feature


    December 7th, 2011

    A cool JavaScript property you never noticed

    A few years ago I was playing around with JavaScript trying to find the cleanest way to implement callbacks in functions. Primarily I wanted a readable way to make certain the last argument passed is a callback, withut having to rely on knowing how many arguments there are and so on. Instead I stumbled upon a pretty cool feature of how javascript handles function arguments.
    April 16th, 2011

    How Lisp changed my style


    January 11th, 2010

    Created by Swizec with ❤️