this post was submitted on 13 Jan 2024
330 points (93.2% liked)

Technology

61227 readers
5555 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] LWD@lemm.ee 32 points 1 year ago* (last edited 1 year ago) (1 children)
[–] geogle@lemmy.world 19 points 1 year ago (2 children)
[–] victorz@lemmy.world 10 points 1 year ago (3 children)

How do you know which language they are writing in?

[–] NegativeInf@lemmy.world 4 points 1 year ago (1 children)

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.

[–] victorz@lemmy.world 1 points 1 year ago (1 children)

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. 👍

[–] NegativeInf@lemmy.world 2 points 1 year ago (1 children)

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.

[–] victorz@lemmy.world 2 points 1 year ago

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! 😊

[–] LWD@lemm.ee 2 points 1 year ago* (last edited 1 year ago)
[–] LWD@lemm.ee 6 points 1 year ago* (last edited 1 year ago)