“Getting” Python
8th October 2003
David Brown: Python is a time bomb (in a good way):
Python is a time bomb. I’ve yet to see someone run with it the first time they are exposed to it. We all know the drill. “Indenting for block structure?” “Why should I use Python when I can do all that in Perl?” and the ever popular “Scripting languages are not for serious programs.”
But then, because you’re curious, you start using it. The first thing you notice is that (if you had good formatting habits to begin with) the indenting issue goes away. You were going to do it that way anyway, right? Then you notice that you got the job done in less time than you realized it would take. Personally, that’s my favorite bit. The “It’s done already? And it works?” feeling. I love it.
I’ve had that “It’s done already?” several times over the past few days. It’s actually quite disconcerting—you flesh out a code idea, run it... and it works. And it’s finished. And it’s generally in good enough shape to be used as-is. I think part of the reason is that I constantly have the interactive prompt open to try out code snippets, so most of the syntax errors and misunderstandings about how a language feature work have been dealt with before I even commit a line of code to my text editor.
More recent articles
- Weeknotes: datasette-enrichments, datasette-comments, sqlite-chronicle - 8th December 2023
- Datasette Enrichments: a new plugin framework for augmenting your data - 1st December 2023
- llamafile is the new best way to run a LLM on your own computer - 29th November 2023
- Prompt injection explained, November 2023 edition - 27th November 2023
- I'm on the Newsroom Robots podcast, with thoughts on the OpenAI board - 25th November 2023
- Weeknotes: DevDay, GitHub Universe, OpenAI chaos - 22nd November 2023
- Deciphering clues in a news article to understand how it was reported - 22nd November 2023
- Exploring GPTs: ChatGPT in a trench coat? - 15th November 2023
- Financial sustainability for open source projects at GitHub Universe - 10th November 2023
- ospeak: a CLI tool for speaking text in the terminal via OpenAI - 7th November 2023