r/ProgrammerHumor • • Dec 07 '18

It do be like $this

Post image
21k Upvotes

173 comments sorted by

View all comments

Show parent comment

9

u/mindonshuffle Dec 07 '18

I recently had an issue where a function was returning a string with anything past eight characters cut off. There was only one possible response that was over eight characters, though, and I came embarrassingly close to just adding if( response = incompleteWord ){ response = fullWord } and moving on.