Except that for any deterministic-algorithm function (one which does not need LLM inference to produce its output), you can do:
MySudoLangProgram |> transpile(JavaScript)
Think of it as a new way to write JavaScript, leveraging infinite, referentially-omnipotent function inference.
And in fact, this is one of my primary use-cases for SudoLang - I guess I should have explicitly pointed that out in the article.
I've used it a lot longer than a year. I have more than one year of full time exposure, meaning using it most of my day every day.
I have been using it on and off part time for close to six years, and I have led multiple large scale TypeScript app projects, some as tech lead, and some in C-level executive role which exposed me much more to the cost analysis perspective.
I do have a lot more to learn about TypeScript, but I also know quite a bit more about it than many who would consider themselves fluent.
Yeah, that defeats the point of ternary expressions.
This should use if statements instead, to clarify the mutation intent.
If you're not capturing/returning the value of a ternary expression, you're missing the point of ternaries.
You're welcome to ignore my posts, but you'll miss out on a lot of valuable content that I share for free. The only cost is they come with links to my site at the bottom, which you're also free to ignore. I couldn't spend so much time creating so much educational content without those links. I have to make a living. =)
What argument? What the article says is:
1. Evidence doesn't support the idea that static types reduce bug density.
2. Static types are cool anyway because they enable useful developer tools.
3. If you want to reduce bug density, lots of evidence supports the use of TDD.