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

python

Name: Anonymous 2014-11-07 0:22

Why is python so fucking terrible?

Dynamic typing is shit and only good for toy programs.
Indenting a line incorrectly breaks your entire program.
Guido is a retard.
The sort of smug look you imagine python coders have when they think about their shit language.

Name: Anonymous 2014-11-13 13:44

>>40 basement dweller autistic misogynist white virgin cripple

Name: Anonymous 2014-11-13 13:46

>>1-1000
pointers occupy this little space
, compared to objects that require copying in full
which is why python is superior to c++

Name: Anonymous 2016-10-10 13:26

>>42
Why is "hurr durr pass by reference has its uses" an argument in favor of Python over C++? C++ lets you pass by reference OR by value, depending on which one is better for the current situation. Though tbh I can't really think of any sort of situation where pass by value would be advantageous, unless maybe you want to use the argument as a decrement counter in a while loop without modifying the original, and that can be accomplished with pass by reference semantics by explicitly copying the value of the argument into a local variable in the body of the function.

Name: Anonymous 2016-10-10 14:01

dubs

Name: Anonymous 2016-10-10 15:49

>>43
Python isn't pass by reference. It uses the Lisp system.

def f(x):
x = "it changed"

foo = "it didn't change"
f(foo)
print foo


Pass by reference would assign "it changed" to foo.

Name: Anonymous 2016-10-10 16:11

>>45
What is "the Lisp system"? How does it differ from ordinary pass by value?

Name: Anonymous 2016-10-10 22:10

>>45
all values are internally references but functions create new bindings

Name: Anonymous 2016-10-11 0:10

>>46
The Lisp system means the environment can be accessed by strings. String names of identifiers (symbols) remain at runtime and eval or something similar can access and mutate them.

This explains it in the context of Python.
http://foobarnbaz.com/2012/07/08/understanding-python-variables/

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