Wishing you all a very happy Eid Day 🙂
PHP:
1 2 3 4 5 6 7 8 9 10 11 |
<?php class Eid { public function Mubarak() { echo __CLASS__." ".__FUNCTION__; } } $eid = new Eid; $eid->Mubarak(); ?> |
Python:
1 2 3 4 5 6 7 8 9 10 |
#!/usr/bin/env python import inspect class Eid: def Mubarak(self): print self.__class__.__name__, str(inspect.stack()[0][3]) eid = Eid() eid.Mubarak() |
3 replies on “Open Source and Bilingual Eid Greetings!”
[…] This post was mentioned on Twitter by Monetized maSnun. Monetized maSnun said: masnun: open source and multilingual eid greetings from a programmer: http://bit.ly/genzm… – http://adf.ly/am1 […]
[…] Open Source and Multilingual Eid Greetings from a Programmer … […]
[…] Open Source and Multilingual Eid Greetings from a Programmer … […]