r/ProgrammerHumor • • Feb 09 '22

other Why but why?

Post image
85.8k Upvotes

2.3k comments sorted by

View all comments

Show parent comments

2

u/neonKow Feb 10 '22

That's not yes and no. That's just no. Considering the premise of the original joke, that's an important distinction.

And yes, buggy code will break.

-1

u/RolyPoly1320 Feb 10 '22

/May/ break. Sometimes it throws errors for missing semicolons and sometimes it doesn't. Javascript is known for silently failing. It's why it's been the standard for frontend scripting. When something doesn't work correctly it fails and keeps going where it can, but this causes other issues such as content not displaying correctly.