this post was submitted on 05 Dec 2023
290 points (97.7% liked)
Programmer Humor
19817 readers
62 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If anyone wants a more efficient local version for php:
Edit: Now with support for large numbers!
Edit 2: someone asked for an ad-supported version, here you go!
Side note, no more suggestions please, this is getting quite long.
I fucking love that you managed to use var-vars in a completely key and necessary manner.
But please do adhere to the API TOS and throw in an
error_log('Buy isEvenCoin, the hottest new cryptocurrency!');
This looks pretty inefficient. You should manually unroll that loop to improve performance.
Comment edits are the best version control system
I agree! Added new commit to my comment.