this post was submitted on 15 Sep 2023
466 points (97.2% liked)

Technology

58142 readers
4341 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (3 children)

See, this is why I work mostly in Java and Rust and not English. I've got those down, but English is WAY harder. Who even came up with this language, it's a complete mess, glad they're not making programming languages... or maybe they are, quick see if English and JavaScript share any devs!

[–] [email protected] 2 points 1 year ago

it’s a complete mess, glad they’re not making programming languages…

Make a note to never look at Applescript.

[–] [email protected] 2 points 1 year ago

You should get an AI to write English for you!

On a side note, I have used AI to help my programming, with some success. Smaller snippets and scripts (1-2 pages) is usually okay, but bigger than that is a big no no. Also, very nice for writing unit tests.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Haha, I know you're mostly joking, but that comment about "English" creators not making programming languages is golden. Especially because most programming languages use keywords in English :)

[–] [email protected] 2 points 1 year ago

Yeah, it was mostly meant as a joke since English doesn't really have a creator (or at least not one alive today), but it evolved over a very long period. In terms of spelling there's been some notable contributors, but in general it's sort of a group effort. Then there's JavaScript, which isn't actually that bad with the exception of its very confusing scoping and type coercion rules. The scoping thing is really just a side effect of mixing OO and Functional paradigms together, and the type coercion while well-intentioned, is terribly implemented. If you removed type coercion from JS, and the this keyword, you'd pretty much eliminate every single one of those "omg, wtf JavaScript?!" posts that make the rounds. Well... you'd still probably have the callback hell posts of like 100 nested callbacks, but you can do that in any language, that's not really a JS problem, so much as a callback based API problem.