Posts

  • Import Time vs Run Time in Python

    Earlier today I was working with my student at Ada Academy about imports in Python. The root of their question was essentially “what happens when I import something” which lead to me doing a poor job of trying to explain the difference between “import time” and “run time.”

  • The Best Hello World Program

    What makes a good “Hello, World!” program?

  • Linting a Jekyll Blog with Mega-Linter

    A friend of mine introduced me to Gwern’s blog a while back. Some of the posts are interesting, and they’re definitely well written. And even though I didn’t become a regular reader, one thing that caught my eye was the meta section of the About page where they talk about various technical aspects of the blog, including custom linters.

  • Comically Valid Syntax in Python

    Sometimes you run across something in Python that looks like it should generate a syntax error but doesn’t. Here’s a monstrosity I ran into this morning.

subscribe via RSS