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

FIOC

Name: Anonymous 2013-03-17 10:14

What the fuck is actually that wrong with Python?
Sure, it's inelegant, but you can get shit done with it surprisingly fast. It's like the chainsaw of programming languages.

Name: Anonymous 2013-03-17 10:15

It's not even inelegant. The standard library is a fucking mess, though.

Name: Anonymous 2013-03-17 10:46

>>1
FIOC is about the worst syntactical cuteness they could have chosen for FIOC. It really hampers things like copy+paste and autoformatting. It also guives GvR an excuse to keep lambdas crippled, as with support for functional programming as a whole, which he loathes, for whatever reason. Certainly not for performance, since his language is slow as fuck.

Still, if the alternatives are PHP or Perl, then give me FIOC any day.

Name: Anonymous 2013-03-17 13:24

>>3
It really hampers things like copy+paste
Please learn to use the < and > in your vim.
and autoformatting
Please use vim.

Name: Anonymous 2013-03-17 13:30

If you think FIOC is the worse part of FIOC, you haven't really used it.

Name: Anonymous 2013-03-17 13:39

ruby is better

Name: Anonymous 2013-03-17 15:58

>>6
TOO BAD RUBNY IS SLOW AS FUCK
AHAHAHAHAHAHAHAHAHAHAHAHA!!!!!

Name: Anonymous 2013-03-17 16:02

ruby is worse than python though
and its ugly syntax with dem blocks, omitting function braces, fake switch, ifs which return something etc crap

Name: Anonymous 2013-03-17 16:17

Ruby definitely has very odd semantics. I had no idea how screwy it was until I read this: http://lucumr.pocoo.org/2012/10/18/such-a-little-thing/

...don't read it to the end, though; the guy brags like a chump about how brilliant Rust is because it borrows something that MATLAB has had for years.

Perl also does the whole "invisible return" thing, and I've found it's wildly inappropriate unless you're working with an output-centric DSL, since you can't tell if a function call on the last line will return something or not unless you read the function itself.

Name: Anonymous 2013-03-17 16:27

>>9
you can't tell if a function call on the last line will return something or not unless you read the function itself.
What does that matter? Surely if you want to do something with the result of a function, you already know the kind of thing it'll return. Otherwise, you surely don't care about the return of the function you're writing.

Name: Anonymous 2013-03-17 16:33

Ruby definitely has very odd semantics.
http://4-ch.net/code/kareha.pl/1132768506/48,50,56,63,105,106

Name: Anonymous 2013-03-17 17:41

>>9
In Python everything is an object and that includes functions. In fact calling it a function would be wrong, Python programmers like to call them callables.
% python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def f(): pass
...
>>> f
<function f at 0x1004cccf8>
>>> type(f)
<type 'function'>
>>>

Name: Anonymous 2013-03-17 18:16

>>12
Yeah, the article's not 100% non-silly, but what do you expect from someone who thinks one of MATLAB's worst features is a pretty cool guy?

Name: Anonymous 2013-03-17 18:17

>>12
$ python
Python 2.7.3 (##################)
[GCC 4.#####] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> isinstance(lambda:"suck my fucking nuts", object)
True
>>>

Name: Anonymous 2013-03-17 18:23

>>14
% python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> isinstance(lambda: 'kiss my sweaty asshole', callable)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
>>>

Name: Anonymous 2013-03-17 18:24

>>14,15
>>> callable
<built-in function callable>

Name: Anonymous 2013-03-17 19:16

>>7

rubny

Name: Anonymous 2013-03-17 19:18

>>9
>I didn't know how odd it was until I read this...

then you obviously have never even used ruby and are talking out of your arse, /g/b2 /g/, fag/g/ot

Name: Anonymous 2013-03-17 19:26

>>18
>I

/g/b2 /g/

Huh.

Name: Anonymous 2013-03-17 19:30

>>18
pathetic

Name: Anonymous 2013-03-17 19:34

>>14-16
>>> callable(type(type)(callable))
True
>>> type(type)(callable)()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot create 'builtin_function_or_method' instances

Name: Anonymous 2013-03-17 19:51

python is the ubuntu of programming

Name: Anonymous 2013-03-17 19:51

python is snake oil

Name: Anonymous 2013-03-17 20:00

python made me gay

Name: Anonymous 2013-03-17 20:39

>>22
>>23
>>24
samefag is /b/tard

Name: Anonymous 2013-03-17 21:13

>>25
truly e/g/in post /g/ro

Name: Anonymous 2013-03-17 21:30

>>26
Please stop with those posts, you aren't helping.

Name: Anonymous 2013-03-17 22:12

>>27

e/g/in

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