News for hackers. Stuff that matters.
Re:Ask HN: What are the least frustrating languages/technolo... by tomcam on Saturday July 30, 2022 @02:52AM (#32284880)
My preferences are similar. For me, Go, neovim, zsh, PostgreSQL, vanilla JavaScript
Re:Ask HN: What are the least frustrating languages/technolo... by wartijn_ on Saturday July 30, 2022 @03:50AM (#32285090)
What makes you prefer Javascript over Typescript? For me TS removes some of the frustrations of JS.
Re:Ask HN: What are the least frustrating languages/technolo... by tomcam on Saturday July 30, 2022 @03:16PM (#32289471)
I find JavaScript not to be frustrating, and while typescript is fantastic I prefer a simpler tool tray chain. I am working on smaller projects of only 100,000 lines of code or so
Re:Ask HN: What are the least frustrating languages/technolo... by adrai on Saturday July 30, 2022 @04:24AM (#32285213)
This exists also the other way round: For me JS removes some of the frustrations of TS (and Java, C#, etc.)
Re:Ask HN: What are the least frustrating languages/technolo... by tomcam on Saturday July 30, 2022 @03:17PM (#32289477)
Very well put. I should’ve mentioned it myself.
Re:Ask HN: What are the least frustrating languages/technolo... by tkiolp4 on Saturday July 30, 2022 @08:02AM (#32286140)
You need a transpiler for TS. That’s frustrating.
Re:Ask HN: What are the least frustrating languages/technolo... by beardyw on Saturday July 30, 2022 @07:31AM (#32285993)
Since you can't, by definition, do anything in Typescript that you can't do in JavaScript what are the frustrations?
Re:Ask HN: What are the least frustrating languages/technolo... by wartijn_ on Saturday July 30, 2022 @08:55AM (#32286415)
That's a weird way of thinking. Just because you can do the same things in two languages, doesn't mean they're as nice to work with. Everything you do in any compiled language, you can do in assembly. But I don't think many people would argue that building everything in assembly is the least frustrating way of writing code.

In the case of js and ts: they can do the same, but ts is less frustrating because the added types catches bugs when writing code, it gives useful info about what a variable is meant to do, and my IDE gives way more useful hints.

Re:Ask HN: What are the least frustrating languages/technolo... by anticidedretard on Saturday July 30, 2022 @06:11AM (#32285594)
true