r/programminghorror • • Nov 30 '20

query.appendString("spacebar")

8.5k Upvotes

67 comments sorted by

View all comments

Show parent comments

36

u/AvenDonn Dec 01 '20

Isn't there literally a function to handle this?

0

u/[deleted] Dec 01 '20

[deleted]

18

u/OrShUnderscore Dec 01 '20

I thought it was don't reinvent the wheel.

6

u/CodeLobe Dec 01 '20

You don't find many sports cars with wagon wheels though, eh?

1

u/OrShUnderscore Dec 01 '20

seems like a missed opportunity.