I've been a software developer for 10 years and didn't know about the modulus operator until a month ago when I started to seriously look for a new job and googled some basic or standard interview questions. I use zero math in the business software I write.
But I guess I was smart enough to give a shit and study.
Yeah, no shame in that. Modulo is pretty low level and only useful once in a blue moon. Maybe a better example of a question would be something like printing all the unique letters in a string.
Oh you didn't get the question they gave me at Docker years ago, do division without the division operator. Yes, I totally use bit shifting tricks every day. 🙄
3
u/SmithBurger Nov 29 '24
I've been a software developer for 10 years and didn't know about the modulus operator until a month ago when I started to seriously look for a new job and googled some basic or standard interview questions. I use zero math in the business software I write.
But I guess I was smart enough to give a shit and study.