Syntax

I’m pretty flexible when it comes to syntax, something I don’t like though is python’s. Specifically how their proponents say that you just use whitespace,which is totally wrong. Is the proper python if statement this?

if whatever

restofthestuff

or

if whatever:

restofthestuff

see what I did there? One has a colon, one doesn’t. Python has fewer things, but it certainly isn’t whitespace only. I have to admit that I like C-like syntax a lot, but it comes second to Ruby’s. It has a really simple syntax that’s a lot more readable AND as unambiguous as C. The lack of semicolons is also nice, since I *always* for get them…..well not always but you know what I mean. Either way I’m done for now.

  1. No trackbacks yet.

Leave a comment