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:
Anonymous2009-03-03 10:32
Please return to Guido's Private Sexy Pleasures, Mr Abelson.
Name:
Anonymous2009-03-03 10:36
I was just watching Monty Python. Well I'm going for a tinkle.
Name:
Anonymous2009-03-04 2:37
this thread says alot about python
Name:
Anonymous2009-03-04 6:28
This thread said more about Ruby than it ever said about Python
>>8
i think if someone's too worried about speed they aren't using python
Name:
Anonymous2009-03-04 12:19
>>10
Perhaps the same could be said of all toy languages?
Name:
Anonymous2009-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.
I love Python and am going to have sex with Guido as a thankyou
Name:
Anonymous2009-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:
Anonymous2009-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.
>>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 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:
Anonymous2009-03-04 22:05
I'd indent my code inside the Culver's labias, if you catch my drift.
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:
Anonymous2009-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:
Anonymous2009-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.
>>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 ).
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:
Anonymous2009-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:
Anonymous2009-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.
>>32
>use * instead of indentation.
OH
>feed that file to the compiler.
You.......
Name:
Anonymous2009-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:
Anonymous2009-03-06 3:12
>>52
The problem with that is that it still allows people to use retarded widths for their tabs.
Name:
Anonymous2009-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:
Anonymous2009-03-06 4:20
Then why not just use indent of 4, so it's both better in readability and when writing code.
Name:
Anonymous2009-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.