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

Pages: 1-

elif python

Name: Anonymous 2010-01-16 19:51

What's the point of using elif, I can save time by using if instead.

Name: Anonymous 2010-01-16 19:53

Back to /pr/, please.

Name: Anonymous 2010-01-16 19:53

2/10

Name: Anonymous 2010-01-16 20:09

>>2
I actually wandered there once. It seems that 7chan is a haven for retards.

Name: Anonymous 2010-01-16 20:35

>>1
Since Guido's interpreter is a piece of shit you have to spoonfed it to make it run at any reasonable speed, hence the pointless keywords and the lack of good features.

Name: Anonymous 2010-01-16 20:58

>>5
lol GIL

Name: Anonymous 2010-01-16 21:19

It's more for readability. You can have a separate if statement in an elif, so for the sake of readability elif helps visualize nested functions. My 2 cents.... But yeah elif is pretty pointless.

Name: Anonymous 2010-01-16 21:24

The point in elif is that you won't have to indent your code by 4125 tabs.

Name: Anonymous 2010-01-16 21:38

ONE WORD, THE FORCED INDENTIATION OF CODE, THREAD OVER

Name: Anonymous 2010-01-16 22:12

>>7
else if is pointless? Am I missing something?

Name: Anonymous 2010-01-16 22:44

>>6
Even Google is unable to remove the GIL. They've dropped that out of the project plan for unladen swallow. The problem is not the interpreter; it's that the language itself has some tremendous design flaws.

Look at what Google is accomplishing with this:

Unladen Swallow 2009Q3 is the second release of Unladen Swallow to use LLVM for native code generation, and the first to use runtime feedback for optimization.

Highlights:
    * Unladen Swallow 2009Q3 uses up to 930% less memory than the 2009Q2 release.
Lowlights:
    * Memory usage is still 2-3x that of Python 2.6.1.

http://code.google.com/p/unladen-swallow/wiki/Release2009Q3

(And I say this as a big fan of Python; it's probably my favorite high-level language.)

Name: Anonymous 2010-01-17 0:10

>>10
I meant that elif is more synaptic sugar than anything else. Came out a little wrong.

Name: Anonymous 2010-01-17 0:13

>>12
And I can't type... syntactic.... whatevs

Name: Anonymous 2010-01-17 0:19

>>11
uses up to 930% less memory
wat

Name: Anonymous 2010-01-17 0:21

>>11
http://code.google.com/p/unladen-swallow/wiki/Release2009Q3
Mem max: 212344.000 -> 96884.000: 119.17% smaller

wat

Name: Anonymous 2010-01-17 0:28

>>15
Scroll down.

Name: Anonymous 2010-01-17 1:32

>>16
No amount of scrolling down will make that measurement make sense.

Name: Anonymous 2010-01-17 2:14

http://www.solucija.com/template/distinctive
We provide turnkey, high-quality solutions regardless of the project size.

Name: Anonymous 2010-01-17 2:29

ROBUST TURKEY SOLUTIONS

Name: Anonymous 2010-12-06 9:36

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-09 18:23

Name: Anonymous 2011-02-04 14:00


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