Re:Reasons Python Sucks
by phodge on Tuesday December 18, 2018 @01:31PM
(#18709140)
> Most programming languages pass function parameters by value
The biggest irony here is that if you wrote your code in C instead, you would actually pass more arguments by reference than in equivalent python, because you're going to use pointers for everything but primitive integer values.
Re:Reasons Python Sucks
by Koshkin on Tuesday December 18, 2018 @01:59PM
(#18709446)
No, the biggest irony is that C as a language does not even have a syntax for passing by reference. Everything, including pointers, is passed by value. References were introduced in C++.
The biggest irony here is that if you wrote your code in C instead, you would actually pass more arguments by reference than in equivalent python, because you're going to use pointers for everything but primitive integer values.