Cython Complex Calculator
.complex.py import cython class ComplexCalc(object): @cython.cfunc @cython.returns(cython.float) @cython.locals(x=cython.float, y=cython.float) def __cget_sum(self, x, y): return x+y
A code snippet defining a Cython-based complex calculator appears beside three people performing a synchronized dab. The joke contrasts overly elaborate, optimized-looking code with the simple operation of adding x and y, making it a reaction to unnecessary complexity or overengineering.
- @profunctor_io / 1251 2018-08-29
- Type
- image
- Size
- 800×448 · 30.7 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added