Forget complex algorithms! This Python developer decided to outsource the "is odd number" check to ChatGPT. Just casually burning through API credits to determine if a number has a remainder when divided by 2. The function makes a full API call, parses the response, and checks if the answer contains "yes" - all to replace a simple return number % 2 != 0. Peak computational efficiency! 💸
When You Have API Credits To Burn
1 year ago
453,373 views
0 shares
python-memes, openai-memes, api-memes, overengineering-memes, chatgpt-memes | ProgrammerHumor.io
More Like This
The Law Of Programming Be Like
1 year ago
652.5K views
0 shares
Adding some js might make it legal
5 years ago
236.2K views
0 shares
The state of the community's feelings of java
4 years ago
357.6K views
0 shares
Found this in a video today. Which one would you use?
3 years ago
154.7K views
0 shares
Java Is Not Javascript My Guy
2 years ago
214.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++