Python 3 is a piece of shit (23)

19 Name: Anonymous : 2009-04-06 14:07 ID:uTPj79y6 [Del]

>>18
Well, that's because this isn't Markdown, it's some weirdass hack of Wakabamark with a bunch of extra shit jammed into it.

Try D, it's a lot like C#, only less stupid. I've found it to be a quite comfortable language for mid/high-level programming, and although it's statically typed, it also has some degree of inferencing, which if you combine with templates, you get a lot of the benefits of duck-typing without many of its problems (like runtime errors about wrong types).

import std.stdio;
int main(char[][] args)
{
// more type inferencing for 'n' and 'arg'
// also note use of 'length'
foreach (n, arg; args[1 .. length])
writefln(n,
// inline array declaration
" (", ["RED", "ORG", "YEL", "GRN",
"BLU", "BLK", "WHT"][n % length],
") ", arg);
return 0;
}
Name: Link:
Spam trap (leave blank):
File: