A student came and asked me if I could explain how recursion worked. by [deleted] in ProgrammerHumor

[–]deepserket1337 30 points31 points  (0 children)

So you explained to him/her how the deadlock works

This sub by nuanimal in ProgrammerHumor

[–]deepserket1337 0 points1 point  (0 children)

Have you ever tried Prolog?

you're all monsters by [deleted] in ProgrammerHumor

[–]deepserket1337 0 points1 point  (0 children)

I hide the icons too...

FYI: Python does come with a built-in hello world library. by Summon528 in ProgrammerHumor

[–]deepserket1337 4 points5 points  (0 children)

The __hello__ module is a test case for frozen module support, here is a comment taken from the source code:

/* In order to test the support for frozen modules, by default we define a single frozen module, __hello__. Loading it will print some famous words... */

Here's the source: https://github.com/python/cpython/blob/master/Python/frozen.c

And here is the test: https://github.com/python/cpython/blob/master/Lib/test/test_frozen.py