Echo JS 0.11.0

<~>

ericelliott comments

ericelliott 1307 days ago. link 1 point ▲ ▼
This time it's right in the article:

ModuleName tests |>
transpile(JavaScript Riteway) |> // or (JavaScript Jest)
wrapWith(Markdown code block)
ericelliott 1307 days ago. link 1 point ▲ ▼
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.
ericelliott 2839 days ago. link 5 points ▲ ▼
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.
ericelliott 3201 days ago. link 4 points ▲ ▼
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.
ericelliott 3783 days ago. link 0 point ▲ ▼
Without any empirical evidence, how could I conclude anything different?
ericelliott 3800 days ago. link 1 point ▲ ▼
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. =)
ericelliott 3800 days ago. link 0 point ▲ ▼
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.
ericelliott 3933 days ago. link 1 point ▲ ▼
You looking at the same article? It does mention prototype chains & property lookup.
[more]