| ▲ | marcellus23 4 hours ago | ||||||||||||||||||||||||||||
All of this is written with a sense of anger and sarcastic invective that doesn't seem appropriate. This is part of learning any new language or API. Going in with an attitude of "I should already know how all this works, why am I forced to do research or look at docs?" seems unfair and will spoil the experience of learning anything. > Why was that so hard? Why are the models here separate from the ones in the right click menu? Too many questions. The very screenshot above this paragraph actually answers this, in what admittedly might be an uncharacteristically clear UI: "Siri and Safari will always run translations online." | |||||||||||||||||||||||||||||
| ▲ | n8cpdx 4 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
This is a story about the risks of AI-induced brainrot. You get so used to having the computer just do your work, that the second you need to engage your noggin you’re lost at sea. Or at least just frustrated. Reading and understanding the docs and reference material has always been part of the work. Aside from the commentary it read like an advertisement for how great the swift/macos translation APIs are. PEBCAK | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | eptcyka 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Coming from other languages, figuring out how to get an NWConnection to work was not trivial and just reading the interface docs did not help. I empathise with the frustration of reading apple docs. Sure, the tone isn’t professional, but I don’t believe that is out of place. | |||||||||||||||||||||||||||||
| ▲ | brabel 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Most of the author's frustration was due to lack of good feedback from Swift. Like, how can it run a command that has an `async` main despite the fact that you didn't extend the async version of command?? That should've been an error (e.g. "bro, you cannot have an async main in this class, you need the Async version of this class which is called AsyncWhatever"). Not awaiting on an async function should be at least a warning. Another frustrating lack of feedback: it just lets you run it and nothing happens. The version thing: it should show all possible variants in the enum, even the ones you should not be able to use, and then when you try using it, show an error saying "you need to change the version of this file to at least blah to use this". Why can't the Swift LSP do that? Apple has a trillion dollars, they can afford polishing their stuff. The author is used to Rust, which would've made it very clear what was wrong in all cases. Swift, being as modern as Rust, should be doing better than that. Languages that fail to give you proper error messages and warnings are just not worth it: just one of these "wtf is going on?" moments can cost you hours. Just use a better language if you can. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | another_twist 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
Disagree here. APIs are meant for using and not learning. But the context matters here. For some paid system, there better be an API thats easy to use or I am throwing AI at the problem or hoping someone else will do it. If its something worth learning - say Guava data structures or RocksDb core - yup I'll invest the time to learn. That learning transfers over. But trying to learn some shitty AWS api and its nuances, no thanks. Some payment system that a handful of people use - no thanks again. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||