330
submitted 8 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 10 points 8 months ago

How do you know which language they are writing in?

[-] [email protected] 6 points 8 months ago
[-] [email protected] 4 points 8 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.

[-] [email protected] 1 points 8 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. ๐Ÿ‘

[-] [email protected] 2 points 8 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.

[-] [email protected] 2 points 8 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! ๐Ÿ˜Š

[-] [email protected] 2 points 8 months ago* (last edited 8 months ago)
this post was submitted on 13 Jan 2024
330 points (93.2% liked)

Technology

58164 readers
3290 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