r/ProgrammerHumor • u/themightydud • Oct 26 '21
GitHub Copilot, the technology that will replace programmers. Also GitHub Copilot...
27k
Upvotes
r/ProgrammerHumor • u/themightydud • Oct 26 '21
View all comments
5
u/FCrange Oct 26 '21
Well you're going to need some sort of hardcoded map between the digits 0 to 9 and the characters "0" to "9" somehow, and if it's not ascii or unicode you have no guarantee that the character codes are sequential.
Sure a hash map would be better but (assuming the point is that you can't use build-in functions) this isn't nearly as terrible as people are pretending.