117
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 28 Dec 2023
117 points (100.0% liked)
chapotraphouse
13519 readers
936 users here now
Banned? DM Wmill to appeal.
No anti-nautilism posts. See: Eco-fascism Primer
Gossip posts go in c/gossip. Don't post low-hanging fruit here after it gets removed from c/gossip
founded 3 years ago
MODERATORS
That's the code highlight markup, which probably has some basic syntax filtering to pick out common keywords. Floor is a common math function, number could conceivably be a value used for a check in some languages, but I'm not sure why "on," "no," "left," or "a" are highlighted and can only guess those are meaningful words in some languages.
Just to see what else it picks up:
That's the code highlight markup, which probably has some basic syntax filtering to pick out common keywords. Floor is a common math function, number could conceivably be a value used for a check in some languages, but I'm not sure why "on," "no," "left," or "a" are highlighted and can only guess those are meaningful words in some languages.
left a number
left
a
number
a number
left a
on
no
floor a number
This just raises more questions than it answered. Like I can kind of see it doing some kind of heuristic to guess what's a function or variable name, but it's not clear what looks like what to it. I guess that's the issue with using it on normal text instead of just for code, where I'm assuming it highlights things rather more sensibly.