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.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: