Show HN: I revived Scoragora, a World Cup prediction game
scoragora.com2 pointsby joyinsky0 comments
s = {'square': lambda x: x **2, 'simple': lambda x: x, 'cube': lambda x: x ** 3}
s.get('square', lambda x: 0)(10)
s.get('nonexistent', lambda x: 0)(10)
Substitute lambdas for real functions and you have a powerful switch case.
It has nothing to do with the Mexican gastronomy and most mexicans living in Mexico would refuse to eat there.