Diff: [root] @ 39d140f1da3 | faq | css

Another rant

File: nopython [Diff]

diff --git a/nopython b/nopython
index 25e862f..51a10a4 100644
-- a/nopython
++ b/nopython
@@ -35,7 +35,7 @@ Python treats objects as hashes (dictionaries), but this approach is flawed. You

Every object method is passed with *self* as first argument. Omg why? So you could call it wtfmycoolvarname and ruin the code understandability? So much for indentation and shit. Anyway, official python book says it's strictly discouraged, so type (self), monkeys. Hell, you don't get so deep in shit even when coding C++.

Speaking of unnecessary chars, you need those parentheses everywhere. If you omit them, you get "Invalid syntax" from python. Gee, that really helps, my syntax is incorrect. Would be even more awesome if no position in code is reported.

So let's count chars. Here goes class initializer definition in python:

By Voker57 on 2009-04-12 14:44:01 +0400 Powered by bitcheese wiki engine