r/computerscience • • Apr 25 '19

It is

Post image
916 Upvotes

16 comments sorted by

88

u/[deleted] Apr 25 '19

Print "hello world"

59

u/realFoobanana Apr 25 '19

There’s a lot to unpack here

18

u/GoofAckYoorsElf Apr 25 '19

... because...

... most of our stuff has been developed over the years in Python 2.7 and changing that would take some doing.

9

u/greyfade Hundred-language polyglot Apr 26 '19

And most of it has already been ported. It's only some older libraries that are still widely-used that haven't.

1

u/GoofAckYoorsElf Apr 26 '19

Yes, additionally to those that have changed their API in the process like such as urllib and StreamIO.

/e: I'll never get that "like"/"such as" thing right...

18

u/Mr_Wither Apr 25 '19

Is python 3 ok??? 😐

4

u/clever_cow Apr 25 '19

What’s wrong with python 2?

37

u/NoodleHoarder Apr 25 '19

They forgot to add parenthesis on print. They fixed it in python 3

10

u/clever_cow Apr 25 '19

Lol best answer

9

u/TortoiseWrath Apr 25 '19

What's wrong with K&R C?

7

u/clever_cow Apr 25 '19

C is used every day in tons of applications... and do you mean ANSI C? What's K&R C?

17

u/TortoiseWrath Apr 25 '19 edited Apr 25 '19

K&R C is the original version of C that was rendered obsolete by ANSI C in 1989.

-4

u/clever_cow Apr 25 '19

Neat analogy...

Not really relevant though since ANSI C is 11 years older than Python 2 and is still not obsolete.

17

u/TortoiseWrath Apr 25 '19

But ANSI C has also not been directly superseded by anything, whereas Python 2 has.

K&R C was as obsolete as it is today in 2000, 11 years after ANSI C was standardized. Python 2 is just as obsolete 11 years after Python 3 was released.

1

u/squishles Apr 25 '19

no type hinting, so your ide will not be able to autofill half the time. It still won't because people won't fill in the type hints and you'll be stuck in duck typing hell, but you can say it's your fault in python3.