this post was submitted on 15 Sep 2023
466 points (97.2% liked)
Technology
59068 readers
3409 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Fix its* output.
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!
Make a note to never look at Applescript.
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.
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 :)
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.