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

Pages: 1-4041-

Python

Name: Anonymous 2009-03-03 10:28

You all act as if you hate it, but we all know it's your favourite language and you're just trolling so that other people won't learn it and see its brilliance.

Name: Anonymous 2009-03-03 10:32

Please return to Guido's Private Sexy Pleasures, Mr Abelson.

Name: Anonymous 2009-03-03 10:36

I was just watching Monty Python. Well I'm going for a tinkle.

Name: Anonymous 2009-03-04 2:37

this thread says alot about python

Name: Anonymous 2009-03-04 6:28

This thread said more about Ruby than it ever said about Python

Name: Anonymous 2009-03-04 7:27

RUBY IS AEWSOME

Name: Anonymous 2009-03-04 11:54

>>7
and slow

Name: Anonymous 2009-03-04 12:12

>>8
The interpreter is slow, not the language.

Name: Anonymous 2009-03-04 12:18

>>8
i think if someone's too worried about speed they aren't using python

Name: Anonymous 2009-03-04 12:19

>>10
Perhaps the same could be said of all toy languages?

Name: Anonymous 2009-03-04 12:23

I liked Ruby a lot, but found more love in Python due to it being a little more flexible, just as easy, forces good coding habits and is much more fast.

Name: Anonymous 2009-03-04 12:34

>>12
what about THE FORCED INDENTATION OF CODE

Name: Anonymous 2009-03-04 14:21

>>12
Claiming Python is faster than Ruby isn't saying much, given how Ruby is inherently slow as fuck.

Name: Anonymous 2009-03-04 15:08

>>11
certainly

Name: Leah Culver 2009-03-04 15:45

I love Python and am going to have sex with Guido as a thankyou

Name: Anonymous 2009-03-04 16:33

>>13
The forced indentation of code is a way of enforcing good coding habits. You should be indenting your code anyways.

If you complain about having to ident your code, you're a scrub and a possibly a bad programmer.

Name: Anonymous 2009-03-04 16:40

There are many cases where THE FORCED INDENTATION OF CODE makes stuff very unreadable. I like how Ruby guys took care of the only real problem by all agreeing to always use two spaces for indentation, then doing the rest however the fuck they want to.

_________
Sent from my custom Textmate bundle

Name: Anonymous 2009-03-04 16:43

>>18
Except two spaces is the stupidest fucking indentation amount ever.

Name: Anonymous 2009-03-04 16:44

>>19
Yeah, well, that's just, like, your opinion, man.

Name: Anonymous 2009-03-04 16:50

>>20
No, it are a fact. I know it because of my learnings.

Name: Anonymous 2009-03-04 18:38

I think two looks good in ruby.
Ergo your wrong bitch.

Name: Anonymous 2009-03-04 19:12

I use two in ALL languages

Name: Anonymous 2009-03-04 19:22

I have three widescreen monitors, and use 12 spaces to indent. Fuck y'all and your narrow-ass screens.

Name: Anonymous 2009-03-04 19:46

>>24
I use 12 tabs to inident.

Name: Anonymous 2009-03-04 19:48

>>25
I indent so much my code ends up in another file

Name: Anonymous 2009-03-04 20:12

I use 12 displays to indent

Name: Anonymous 2009-03-04 20:16

I indent to the NEXT DIMENSION

Name: Anonymous 2009-03-04 20:55

I have a display in Sydney and a display in London, and I indent my code by 1 display. Thus, I indent my code by 17000km, or 64 gigapixels at 96dpi.

Name: Anonymous 2009-03-04 20:58

>>28
Picture a point. It is one-dimensional. If you indent this point, you have created the second dimension. You now have an indented point. If you indent this indented point on another axis, you have created the third dimension. If you indent this indented indented point on another axis, this time, a temporal axis, you have created the fourth dimension.

I indent to the NEXT DIMENSION BEYOND THIS.

Name: Anonymous 2009-03-04 21:28

>>30
Tell me about werecows.

Name: Anonymous 2009-03-04 22:00

You guys clearly don't program in Python regularly.  An age-old trick which I use fondly is to use * instead of indentation.

def A(x):
*if x == 0:
**B()
**C()
*else:
**D(x)
**F(x - 1)


I then use "Astritab", a program I made myself in Python, to go through and parse all the * into tabs.  I then feed that file to the compiler.  It definitely makes it easy to save horizontal screen real-estate.

Name: Anonymous 2009-03-04 22:05

I'd indent my code inside the Culver's labias, if you catch my drift.

Name: Anonymous 2009-03-04 22:32

>>33
Drift acquired.

Name: Anonymous 2009-03-04 23:11

>>34
Please release my drift at once, mister!

Name: Anonymous 2009-03-04 23:44

>>32
only aspies care about something as trivial as "screen real estate" (lol)

Name: Anonymous 2009-03-04 23:46

>>32
If you're that concerned about screen real estate, why not just use single spaces for indentation?

Name: Anonymous 2009-03-05 0:11

global interpreter lock

Name: Anonymous 2009-03-05 0:17


proper
                    indentation
                                          looks
                                                         like
                             this

Name: Anonymous 2009-03-05 0:58

you mean proper indentation looks like ASS

Name: Anonymous 2009-03-05 7:55

Why all of these toy languages have to have horrendous implementations while something as esoteric as Haskell compiles to native code and runs at the speed of light? I don't get it.

Heck, they don't do anything. No JIT even. It's like they just don't give a shit.

Name: Anonymous 2009-03-05 8:41

I once did some bugfixing in mplayer some years ago. Their indentation had (have?) a rather beautiful mix of tabs AND spaces.

Name: Anonymous 2009-03-05 12:24

>>41
while something as esoteric as Haskell compiles to native code and runs at the speed of light?
Nobody cares that your toy programs run moderately fast. Any application outside of scientific calculation is IO-bound, not CPU-bound anyway.

Name: Anonymous 2009-03-05 12:27

>>43
I can give plenty of examples where this just isn't true.
If you have enough fast RAM it isn't very relevant as well.
An example would be some CPU-intensive codecs ( such as wavelet based or H.264 ).

Name: Anonymous 2009-03-05 12:29

That said, those applications are fairly speed critical and you need to be able to mess with pointers as well as do inline asm to optimize things, so they're usually coded in C and asm.

Name: Anonymous 2009-03-05 17:07

>>37
>>36
I don't think you have ever programmed if you you don't care about screen real estate. A program is not judged by how well it performs, how it executes the task at hand, or how long or concise it is, but rather how efficiently it covers the screen.  Have you ever written source code that is unnecessarily long or stretches horizontally for no reason?  I doubt it, as I'm sure you've never seen source code in your life.

As for using single spaces as indentation, I'll just consider that a fucking joke.  Tabs are the de fact standard for code indentation; do you think my clients want some single spaced indentation piece of shit?

Name: Anonymous 2009-03-05 17:16

>>46
I program in Java and make every method its own class with a singleton and corresponding factory to utilize said singleton. Therefore, my program is ``judged'' to be far better than yours.

Name: Anonymous 2009-03-05 17:19

>>46
Enjoy your clients, Trolly McTroll.

Name: Anonymous 2009-03-05 17:19

>>47
ENTERPRISE QUALITY

Name: Anonymous 2009-03-05 17:21

>>47
0/10

Name: Anonymous 2009-03-05 23:23

>>32
>use * instead of indentation.
OH
>feed that file to the compiler.
You.......

Name: Anonymous 2009-03-06 3:08

I thought the whole point with tab was for indenting code, then the programmer can set the tab-width to whatever the fuck he wants, and everyone was happy =/

Name: Anonymous 2009-03-06 3:12

>>52
The problem with that is that it still allows people to use retarded widths for their tabs.

Name: Anonymous 2009-03-06 3:21

>>53
Let me guess, you set it to 3 or less?  This is what we get when new CS majors think they are programmers because they can write "Hello World!"; it has been proven that 5, and then 4, spaced indents improves code readability. It takes a drastic dip after 6.  The problem is that 5 spaces is worse when writing code, so that is why the "placeholder character" converted to 5-space tab method is so widely used.

Name: Anonymous 2009-03-06 4:20

Then why not just use indent of 4, so it's both better in readability and when writing code.

Name: Anonymous 2009-03-06 7:19

The library but I   thought Now forget   it Yo homes   smell ya later   I looked at   sometime too I   would have to   give any reasons   for my arguments   because I am   a JAVA i   ahev a long   doc and i   make web pages   however are relevant   All the other   Or does each   application get to   null my pointer.

Name: Anonymous 2009-08-16 22:30

Lain.

Name: Anonymous 2011-02-04 16:37


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