Posts Tagged ‘programming’

If you program, you should watch this.

Posted in General on January 7th, 2010 by slacy – Be the first to comment

The video linked below sort of blew my mind.

The integration and instant feedback between test & code

The notion of “spec” (not “unittest”)

The spliraling nature of the way he writes the code.

Here’s the blog post with the embedded video, but the embedding size is too small to see what’s going on.

Here’s the direct link to the video on Vimeo, which won’t make too much sense unless you read the blog post first.

Can we all agree that “Programming Language” := “Turing Complete”

Posted in General on August 11th, 2009 by slacy – 2 Comments

I’m tired of articles like this one that say things like

XML essentially is a programming language that allows users to customize the underlying format of their word-processing documents

It peeves me a lot when people refer to things like XML and HTML as “programming languages” because there’s no actual programming (i.e. control flow of execution and conditional statements, to start) involved in using them.  They’re document or data formats, and that’s it.  HTML is as much a programming language as a typewriter is a computer.

I hereby propose that we stop using the term “Programming Language” to refer to anything that’s not turing complete.

We can also ask google what it thinks about the matter

Perl in place replacement syntax

Posted in General on May 13th, 2009 by slacy – 1 Comment

I always forget how to do this, so I’m writing it down:

perl -pi -e “s/foo/bar/g”

Is there a way to do this in Python and be as concise? That would be really nice, and would eliminate one more place where I end up using Perl and tearing my hair out every time.