this post was submitted on 28 Jul 2024
1287 points (99.0% liked)

Programmer Humor

19623 readers
3 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] veganpizza69@lemmy.world 2 points 3 months ago (1 children)

why stop at curly brackets? Do all of them: parentheses, square brackets, angle brackets, and curly brackets. Also, strings should be liberated. Move all non-escaped quote characters to the end of the line too.

[โ€“] psud@aussie.zone 1 points 3 months ago

And escape the newlines that you introduce in the strings