24
R-C-D
7y

print vs print()

Comments
  • 9
    With tensorflow solely supports on 3. I can see 2 gonna die out soon.
  • 2
    Py2 sucks
  • 2
    print is conceptually better than print(), because "print" is language instruction, like "for" and "while". These are often used for low-level things / side effects / talking to os, and printing is obviously the os-dependant side effect. But print() is function, and with all of that rich functional programming tools that python has shouldn't it strive for more purity?

    anyway, they moves reduce() and other great things away to functools, so it seems like Python3 is not the general-purpose sane functional language like Python2 was but Perl competitor.
Add Comment