Shop OBEX P1 Docs P2 Docs Learn Events
Does your favorite programming language have a sense of humor??? — Parallax Forums

Does your favorite programming language have a sense of humor???

Both versions of Python do!
pi@raspi3:~ $ python3
Python 3.4.2 (default, Oct 19 2014, 13:31:11) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import braces
  File "<stdin>", line 1
SyntaxError: not a chance
>>> exit()

pi@raspi3:~ $ python
Python 2.7.9 (default, Mar  8 2015, 00:52:26) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import braces
  File "<stdin>", line 1
SyntaxError: not a chance
>>> 

Happy weekend, everybody!!! :D

Comments

  • Blame the mascot.

    He spends hours and sometimes days laboriously typing out every single release with his tail. Or sometimes when they are in a rush, he dictates it to someone who's faster at it.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2016-05-13 17:09
    Found these and these. Quite silly. Happy Friday! :D
  • Blame the mascot.

    Huh?? Python is named after Monty Python, *NOT* the snake, python.
  • Heater.Heater. Posts: 21,230
    Well, Python is a joke from beginning to end.

    If you want a good laugh try Javascript:
    > typeof [1, 2, 3, 4]
    'object'
    > typeof {x: 1, y: 2, z: 3};
    'object'
    > typeof null
    'object'
    > typeof NaN // Otherwise known as Not a Number
    'number'

    It's a kind of black humour we love. So superior to trivial joke languages in every way.
  • Not a programming language joke, but still a sense of humor.

    DG (remember them?) had a "breakfile analyzer" program (aka core dump) called BRAN.

    If you started it like this:

    XEQ BRAN/RAISIN progname

    It would respond:

    *Abort*
    I don't like raisins.

    Walter
  • mindrobots wrote: »
    Blame the mascot.

    Huh?? Python is named after Monty Python, *NOT* the snake, python.

    Is it? Then why is there a <DELETED!> big snake hanging around their physical locations?

    Besides I happen to know that the best IDE examples are named after references from the group.

  • Heater.Heater. Posts: 21,230
    Yes, the Python language is named after Monty Python.
  • The variant of Tiny Basic which was shipped with my first computer had three error messages, WHAT?, HOW? and SORRY.
Sign In or Register to comment.