Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Why we hate python

Name: Anonymous 2007-09-09 12:36 ID:q4NZHhgp

I hate python because everything looks like:


do something
           do something
           do something
                    do something
                    do something
           do something


I MEAN WHAT THE FUCK??? THERES LIKE THINGS YOU CAN USE TO SEPERATE BLOCKS OF CODE LIKE {[()]} PYTHON WTF?

Name: Anonymous 2007-09-09 12:41 ID:kXNqOVzd

I hate lisp because everything looks like:


(do (something
           ((do) something)
           ((do) (something
                    (do something)
                    (do something)
           do) something)))

I MEAN WHAT THE FUCK??? THERES LIKE THINGS YOU CAN USE TO SEPERATE BLOCKS OF CODE LIKE INDENTATION LISP WTF?

Name: Anonymous 2007-09-09 12:54 ID:kEBk5Why

At least with lisp is painfully clear what code belongs to what expression as well you can indent as you wish

Name: Anonymous 2007-09-09 13:04 ID:/V+BeQFm

I hate pythonperl because everything looks like:
 
 
@#%do%!@#^!#^something!@#%*(^!*^
(&!@#%)(&!#%do'something//?2#%!#%//
)*&%)#(%&*!?do"something!@$!@$**%
()&%)!(#&%!(&#%)(&!#%do/something!(#%&)!#(&%!#%
?:"<>!@"#:!>@#":!@##!do\something!()@*#!(@&#$)*(&
?><":!@>#$!@do%something!@%()U&

 
I MEAN WHAT THE FUCK??? THERES LIKE THINGS YOU CAN USE TO SEPERATE BLOCKS OF CODE LIKE WHITESPACE PERL WTF?

Name: Anonymous 2007-09-09 13:38 ID:n9SLI6nT

>>3
painfully clear? i don't think so...
[code]((a(b(((c d) e) (f g)) h)) i)[code]

Name: Anonymous 2007-09-09 13:39 ID:kEBk5Why

>>5
You can't even write BBCODE what makes you think we care about your inabilities?

Name: Anonymous 2007-09-09 13:40 ID:Heaven

>>5
That is because you are gay and unable to comprehend parentheses. And learn to BBCode.

Name: Anonymous 2007-09-09 14:08 ID:3kP06YPC

>>5
indentation. Also, automatic indentation given by parenthesis. also that's not valid common lisp, just scheme.

Name: noko 2007-09-09 15:11 ID:9fGD9srJ

painfully clear? i don't think so...
((a(b(((c d) e) (f g)) h)) i)

Name: Anonymous 2007-09-09 16:26 ID:yX414nWg

I hate BASIC because everything looks like:


10 do something
20 do something
30 do something
40 do something
50 do something
60 do something

I MEAN WHAT THE FUCK??? THERES LIKE THINGS YOU CAN USE TO SEPERATE BLOCKS OF CODE LIKE GOTO BASIC WTF?

Name: Anonymous 2007-09-09 16:31 ID:2EBI8923

>>10
You obviously haven't used BASIC since the 80s

Name: Anonymous 2007-09-09 16:38 ID:LrriB7bi

loopStatement (condition){
conditionalStatement (condition){
do something;
}
conditionalStatement (condition){
do otherthing;
}
}

FUCK YEA JAVA

Name: Anonymous 2007-09-09 16:55 ID:J61iE+TC

>>1
Stupid fuck, there are these things you use to separate code: newline, indent and dedent.

>>3
At least with lisp is painfully clear what code belongs to what expression
If it isn't in Python, you're a complete loser, drop programming and get a job at McDonalds.

as well you can indent as you wish
As if this were a feature.

Name: Anonymous 2007-09-09 16:56 ID:Heaven

I hate BBCode because everything looks like:


[do something][do something]
do something
[/do something]do something[/do something]


I MEAN WHAT THE FUCK??? THERES LIKE THINGS YOU CAN USE TO SEPERATE BLOCKS OF CODE LIKE
BBCODE WTF?

Name: Anonymous 2007-09-09 16:57 ID:Heaven

>>14
OH FUCKING FUCK NOW I HATE BBCODE

Name: SAGE 2007-09-09 17:33 ID:Heaven

def initely():
        python sucks
                it makes my head feel
        dizzy because everything is
        so
messed up


and then i have to:

goBackTo( java )
{
        andEnjoy( theBeauty );
        of( enterpriseQualityCode( "FUCKYEAH" ) )
        {
                python.burnInHell( true );
        }
}

Name: SEGA 2007-09-09 17:37 ID:q4NZHhgp

SEGA

Name: Anonymous 2007-09-09 18:30 ID:8cZUscm1

One word, THE FORCED INDENTATION OF CODE, THREAD OVER

Name: Anonymous 2007-09-09 19:51 ID:95oC8Bmp

It's kinda sad that it took 18 replies for >>1 to get the response he was baiting for.

Name: Anonymous 2007-09-09 20:03 ID:b3syEtxH

SPUNK BUBBLE

Name: Anonymous 2007-09-09 20:12 ID:8cZUscm1

>>19
I was asleep ;3
I am the guy who runs this board :)

Name: Anonymous 2007-09-09 21:34 ID:0UMPFtqi

it's called a colon :

Name: Anonymous 2007-09-09 21:44 ID:Heaven

>>22
cock goes where?

Name: Anonymous 2007-09-09 21:58 ID:Heaven

>>18,21
you suck

Name: Anonymous 2007-09-09 22:37 ID:lOLqhPBk

ONE WORD, THE FORCED "ONE WORD, THE FORCED INDENTATION OF CODE, THREAD OVER", THREAD OVER

Name: Anonymous 2007-09-10 2:43 ID:KryS7Izb

ONE WORD, THE FORCED 'ONE WORD, THE FORCED "ONE WORD, THE FORCED INDENTATION OF CODE, THREAD OVER", THREAD OVER', THREAD OVER

Name: Anonymous 2007-09-10 3:00 ID:ApAu+LX3


[BBCPL]
[ARRAY = "24"][CHAR = "FORCED"]ONE WORD, THE FORCED \[ [/CHAR][/ARRAY]
[ARRAY = "21"][CHAR = "INDENTATION"]INDENTATION OF CODE, [/ARRAY][/CHAR]
[ARRAY = "15"][CHAR = "OVER"]THREAD OVER \] [/ARRAY][/CHAR]
[INT = "i"]1[/INT]
[WHILE = "i = i"]
[FOR = "[INT = "x"]0[/INT]:[x]<[i]:[x]+1]
[PRINT][FORCED][/PRINT]
[/FOR]
[PRINT][INDENTATION][/PRINT]
[FOR = "[INT = "x"]0[/INT]:[x]<[i]:[x]+1]
[PRINT][OVER][/PRINT]
[/FOR]
[/WHILE]
[/BBCPL]

[b][o]EXPERT BBCODE PROGRAMMING[/b][/o]

Name: Anonymous 2007-09-10 3:03 ID:qipX91L9


def fun(str):
    return "ONE WORD, THE FORCED '" + fun(str) + "', THREAD OVER"

fun("ONE WORD, THE FORCED INDENTATION OF CODE, THREAD OVER")

Name: Anonymous 2007-09-10 3:06 ID:ApAu+LX3

whoops, left something out


[BBCPL]
    [ARRAY = "24"][CHAR = "FORCED"]ONE WORD, THE FORCED \[ [/CHAR][/ARRAY]
    [ARRAY = "21"][CHAR = "INDENTATION"]INDENTATION OF CODE, [/ARRAY][/CHAR]
    [ARRAY = "15"][CHAR = "OVER"]THREAD OVER \] [/ARRAY][/CHAR]
    [INT = "i"]1[/INT]
    [WHILE = "i = i"]
        [FOR = "[INT = "x"]0[/INT]:[x]<[i]:[x]+1]
            [PRINT][FORCED][/PRINT]
        [/FOR]
            [PRINT][INDENTATION][/PRINT]
        [FOR = "[INT = "x"]0[/INT]:[x]<[i]:[x]+1]
            [PRINT][OVER][/PRINT]
        [/FOR]
        [i]+1
    [/WHILE]
[/BBCPL]

Name: Anonymous 2007-09-10 3:07 ID:ApAu+LX3

>>28
your code is not enterprise enough.

Name: Anonymous 2007-09-10 3:10 ID:FyUSzv+X

>>28
That doesn't work right, it redefines 'str' and doesn't escape its quotation marks.


def f(s):
    return "ONE WORD, THE FORCED %r, THREAD OVER" % s
s = "ONE WORD, THE FORCED INDENTATION OF CODE, THREAD OVER"
while True:
    s = f(s)
    print s

Name: Anonymous 2007-09-10 3:28 ID:qipX91L9

>>31
It was meant as a joke, dude. Of course it doesn't work, it's infinite recursion. ^^;

Name: Anonymous 2007-09-10 4:51 ID:sUp+5BMX

* (defun proclaim-forced-indentation-of (code)
   (concatenate 'string "ONE WORD, THE FORCED INDENTATION OF " code "! THREAD OVER!"))

PROCLAIM-FORCED-INDENTATION-OF
* (PROCLAIM-FORCED-INDENTATION-OF
   (PROCLAIM-FORCED-INDENTATION-OF "code"))

"ONE WORD, THE FORCED INDENTATION OF ONE WORD, THE FORCED INDENTATION OF code! THREAD OVER!! THREAD OVER!"

Name: Anonymous 2007-09-10 6:56 ID:f5TxuP0i

def ProclaimForcedIndentationOf(code):
     return "ONE WORD, THE FORCED INDENTATION OF %s! THREAD OVER!" % code


Python wins sorry sir

Name: Anonymous 2007-09-10 7:14 ID:ApAu+LX3

[BBCPL]
[DEF = "CODE"]"one word, the forced ["[/DEF]
[DEF = "OVER"]"] THREAD OVER!"[/DEF]
[DEF = "NEST"][CODE][NEST]INDENTATION OF CODE![OVER][/DEF]
[NEST]
[/BBCPL]

[b][o][u]expert[/u][/o][/b] bbcode improvement on
>>29

Name: Anonymous 2007-09-10 7:38 ID:f5TxuP0i

[define [ProclaimForcedIndentationOf [code]]
    [join "" "ONE WORD, THE FORCED INDENTATION OF " code "! THREAD OVER!"]]

Name: Anonymous 2007-09-10 8:34 ID:sUp+5BMX

>>34
no it fails, the fucking FORCED INDENTATION OF CODE, THRAED OVER.

Name: Anonymous 2007-09-10 12:07 ID:5U0KnjIU


/tmp$ cat foo2.py
def f():
  x = 3
  def g():
    print x+1
    x = 2
  print x
  g()
f()
/tmp$ python foo2.py
3
Traceback (most recent call last):
  File "foo2.py", line 8, in <module>
    f()
  File "foo2.py", line 7, in f
    g()
  File "foo2.py", line 4, in g
    print x+1
UnboundLocalError: local variable 'x' referenced before assignment

Name: Anonymous 2007-09-10 15:38 ID:weUDNfFg

>>38
= rebinds a variable in the local scope, instead of modifying its contents which is what you wanted. When Python sees "x = 2" in g, it'll make x a local variable, shadowing f's x, and producing an error when you read it before assignment in print x+1.

I know this sucks, but at least it makes sense: variables are all references to objects, numbers and strings are immutable, and the assignment statement rebinds a variable; it doesn't change its contents. If you want to modify an object, use a mutable object such as a list or a dictionary.

In Python 3.0 (beta coming soon), you'll be able to work the way you want, by declaring x an "outer" variable with the outer keyword. You'd just insert:
outer x
between def g(): and print x+1.

Name: Anonymous 2007-09-10 20:31 ID:vd5IhTFK

>>29
That's...kinda pretty.

Name: Anonymous 2007-09-10 23:45 ID:5U0KnjIU

>>39
No it doesn't make sense. It absolutely stupid and totally inferior to lexical scoping. It is just a stupid rule to handle the fact that python can't figure out duck shit about its own programs and symbols.

Name: Anonymous 2007-09-10 23:53 ID:3qdSrtpp

>>39
that's a nice argument... but my rebuttal is better.

one word: THE FORCED INDENTATION OF CODE! thread ovar.

Name: Anonymous 2007-09-10 23:59 ID:J19q7nC+

>>42
>I AM AN EXPERT PROGRAMMER WHO BASHES PYTHON AND ABUSES BBCODE! LOLZ

Name: Anonymous 2007-09-11 0:01 ID:Heaven

test

more test

Name: Anonymous 2007-09-11 0:01 ID:Heaven

shit im stupid
test
more test

Name: Anonymous 2007-09-11 2:18 ID:zFLzSMTV

Python are snake, and I quite sure snakes don't code

Name: Anonymous 2007-09-11 2:27 ID:Q5JMfQ9b

Snake? SNAAKE? SNAAAAAAAAAAAKE?

Name: Anonymous 2007-09-11 2:31 ID:zFLzSMTV

Name: Anonymous 2007-09-11 2:41 ID:A0qiLzJ2

Badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger badger

Name: Anonymous 2007-09-11 3:03 ID:Heaven

Ruby are gem, and I quite sure gems don't scale

Name: Anonymous 2007-09-11 3:54 ID:GIb2hcLZ

>>40
thanks... been working on bbcode programming language for a while, almost ready for a beta version.

just need an EXPERT PROGRAMMER who can make an implementation of the specifications.

Name: Anonymous 2007-09-11 6:35 ID:ppB0AHHq

>>39
The alpha is out, and you use nonlocal not outer.

Name: Anonymous 2009-03-06 7:36

The left side is   if the left   and let go   of their uncertainty   and doubt because   there is no   big difference just   the amount of   security FUD that   exists on public   full disclosure mailing   lists The message   I want to   get anything besides   a torrent my   average speed is   only a part   of the equation   from above 212a.

Don't change these.
Name: Email:
Entire Thread Thread List