Hacker News new | ask | show | jobs
by guideamigo_com 1034 days ago
JS is so basic (compared to Python, Go, Java, or Rust) that one can easily make a framework which will do something specific.

You can then use it to get a job.

2 comments

As a JS dev currently looking for a job, can you elaborate on this comment?
> As a JS dev currently looking for a job, can you elaborate on this comment?

You can build a new framework and use that as your portfolio. JS apps like these can be quickly tried in the browser. That's not true of a new Go/Rust/Java library.

That isn't quite true anymore since wasm got traction. There really is a lot of tooling around getting your go code to run even in browsers!
It's kind of true because the WASM GC proposal still isn't finished, so Rust and C++ are the only reasonable options, and also there's no native support for calling web platform APIs yet, so there's a lot of overhead for doing web stuff and you have to use a ton of JavaScript glue code (there are tools to help, but still...).

JavaScript / Typescript will probably always have a size advantage over WASM anyway because they don't have to ship any runtimes or standard library code. E.g. formatting a string or running a regex in JS is just a few bytes but in Rust you have to ship a whole string formatting/regex library.

Hearing about web assembly for years now.

Apart from some big companies, no one seem to use it.

JS is no easier than Python or Go IMO
It appears easier than Go for the beginners.

No compiler.

No strong types.

No function return types.

And you can combine different types in unexpected ways https://www.destroyallsoftware.com/talks/wat

When the code fails, just refresh the page!