this post was submitted on 19 Jul 2024
114 points (99.1% liked)

Comic Strips

12744 readers
3732 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
114
Syntax – The Jenkins (thejenkinscomic.wordpress.com)
submitted 4 months ago by [email protected] to c/comicstrips
top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 4 months ago
[–] [email protected] 5 points 4 months ago (1 children)

Rofl but what does it even compile down to? I could see a program that just concatenates and prints every string included in its source code

[–] [email protected] 11 points 4 months ago (2 children)

Fun fact: In a hilarious misuse of the #! script interpreter mechanism, on Linux (and similar operating systems), if you put #!/bin/cat as the first line of a file and make it executable, it'll dump itself to the current output channel when called by name.

Which is basically what you're describing.

See also: Perl, which will try to interpret almost anything as legitimate code if you don't tell it not to.

[–] trigg 3 points 4 months ago

I'd go for /usr/bin/strings personally, then it'll allow binary junk too!

[–] [email protected] 2 points 4 months ago

Omg it really does - how is that so cute??

[–] Anticorp 4 points 4 months ago

You don't even need the syntax with ChatGPT. It's getting scary out here, folks!

[–] [email protected] 3 points 4 months ago

I think that in this language, pointers (remember those, kids?) should be actual pointing fingers.
👈👉👆👇🖕🤘🤟✌️