324
submitted 5 months ago by celmit@lemmy.ca to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] geogle@lemmy.world 19 points 5 months ago
[-] victorz@lemmy.world 10 points 5 months ago

How do you know which language they are writing in?

[-] geogle@lemmy.world 6 points 5 months ago
[-] NegativeInf@lemmy.world 4 points 5 months ago

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 5 months ago

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 5 months ago

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 5 months 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 5 months ago* (last edited 5 months ago)
[-] LWD@lemm.ee 6 points 5 months ago* (last edited 5 months ago)
this post was submitted on 13 Jan 2024
324 points (93.1% liked)

Technology

55692 readers
2769 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 another!
  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

Approved Bots


founded 1 year ago
MODERATORS