323
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 13 Jan 2024
323 points (93.1% liked)
Technology
59374 readers
3126 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
Based on syntax, use of indents for code blocking, and the comment hash, I'd say it's meant to be python but has a bug. But it could always just be pseudo code with a mistake. But it doesn't look like any single = conditional language I know.
It looks like pseudo code to me. But pseudo code doesn't really have a standard, does it? So their personal flavor is perfectly acceptable and correct (single equals acting as comparison). We know what they mean, what they're trying to convey -- we get the joke. No need to pick it apart. ๐
True, I wasn't intending to be nasty. I was more responding to the "How do you know" in a general sense of how one COULD assign it a language. No harm meant at all.
Oh, gosh, it's my mistake. I confused you with the person who made the initial nit-pick about the equal sign. Hey, have a good day! ๐