Better HN
topnewbestaskshowjobs
Log inSign up

throwat2341

12 karma · joined Dec 20, 2023 (2y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

> Are they optimizing for cost or speed of development?

Historically I would agree. There are options now that are both easy to develop in and are blazingly fast (C#, Go, Rust, Kotlin to name a few).

The elephant in the room is that both Ruby and Python fell behind in relative ease of use and computational performance with respect to other ecosystems and instead of addressing pressing matters there is a lot of mental gymnastics and cognitive dissonance at play such as presenting false dichotomies.

comment 2y ago · link · parent

I really think the `case throws` is brilliant.

Next, lets add a `never` type to make this legal.

  var foo = switch (bar) {
    case String s -> s,
    case Number n -> return,
  };

comment 2y ago · link · parent

It's too late for me. I, like Douglas Crockford, am completely done with JavaScript [1].

HTMX, LiveView, WASM, Dart, ClojureScript, Kotlin, ScalaJS, Dioxus -- There are lots of options folks. We don't need to surrender to the tyranny of JavaScript.

[1] https://www.youtube.com/watch?v=lc5Np9OqDHU

comment 2y ago · link · parent

Until then there is Nix/Guix and Bazel/Buck.

comment 2y ago · link · parent

C++ has major flaws that cannot be rectified without serious breaking changes. With that said, Herb has been experimenting with a new cpp frontend with sane defaults [1].

In my opinion, the world is on standby until Anders Hejlsberg feels like tackling a modern, next generation systems language.

[1] https://github.com/hsutter/cppfront