Mocking Eye

'Tis all in vain?

« Back to posts
  • Viewed
    times
May 14, 2008

The Shahadah (Islamic Declaration of Faith) in Python

  • Edit
  • Delete
  • Tags
  • Autopost
A moment of fancy on IRC led me to concoct the following:
((len([i for i in __globals__ if i is not god and type(i) is type(god)]) == 0) and (god.prophet == muhammad))) == True
This is the Shahadah represented in Python. Programming Language Wars are frequently religious, I thought why not take it a step further.
Tweet
  • 0 responses
  • Like
  • Comment