- Notifications
You must be signed in to change notification settings - Fork3
Ace that job interview with minimal effort, good developers write clean code, master developers don't write any at all.
License
Paradoxis/Fizz-Buzz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
So you're in a job interview, and the interviewer asks you to write a 'fizz buzz generator'.What would a good developer do? A novice developer writes 80 lines of code, an experienced developerwould write 20, butyou? You're smart. You install it using PIP, and write three lines of code.
This will be the hardest part of your interview, execute the following command:
$ pip install fizz-buzz
This is where the magic happens
# Don't forget to write comments. Interviewers LOVE comments.# Doesn't even matter if they're meaningful!fromfizz_buzzimportfizz_buzz# Such fizz, very buzzforfizzinfizz_buzz(amount=100):print(fizz)
I'm not responsible if you don't get the job, albeit if they reject you for this you most likely dodged a bullet as theyare probably total idiots and you would have been miserable working there. If anything, you should thank me with some free coffee!(Yes, I'm shamelessly begging for coffee)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2017 - Luke Paris (Paradoxis) <luke@paradoxis.nl> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.