HNHacker News
TopNewBestAskShowJobs

kriiuuu

48 karma · joined September 5, 2023

submissionscomments
kriiuuu··on Top Programming Languages 2025
We use Scala as well and are very happy with it. We also have a lot of TS, and at this point we are tempted to just switch to using ScalaJS on the frontend as well because of how much better the language is to use. It feels like Scala 3 fixed a lot of issues people had with the language. The IDE tooling isn’t the best, but even then it feels like the IDE tooling for TS breaks all the time once the project is large enough.
kriiuuu··on Safety in an unsafe world
Effect systems are great for concurrent programming and easier to reason about than actors. They aren’t available in all programming languages however.
kriiuuu··on What happens when you make a move in lichess.org?
Hopefully scala-cli being the default runner might help in the furure
kriiuuu··on What happens when you make a move in lichess.org?
https://bleep.build is a very promising tool for building Scala projects. I like it more than I like cargo
kriiuuu··on Microsoft TypeSpec
AWS also has it’s own implementation of this with smithy
kriiuuu··on LSP: The good, the bad, and the ugly
Significantly easier because there is just a lot less surface area.
kriiuuu··on Official proposal for Type Unions in C#
I feel the same about Scala. I use Scala3 daily and almost every other language is such a step back. I have looked at F# and it looks like one of the only other languages I would enjoy as much as Scala. Haskell is nice too, but the ecosystem is just not quite there. F# being able to tap into the rich C# ecosystem and Scala being able to tap into the Java ecosystem is such a win and makes them feel a lot less niche when you use them.
kriiuuu··on Official proposal for Type Unions in C#
Good news is that you can achieve this with relatively little boilerplate in Java with sealed interfaces and records now. Relative to Java that is
kriiuuu··on Clang vs. Clang
That is not UB. That is simply mutable data. The solution here is static analysis (Rust) or immutable persistent collections.
kriiuuu··on Python with Braces
Unison would fit here
kriiuuu··on Kanban vs. Scrum: What's the difference?
I don’t think anyone actually listens to anything said in a standup. 99% just does not affect you in any way. If we have an issue we need help with we just send a message on teams or get on a call. The standup is pure ritual
kriiuuu··on Kanban vs. Scrum: What's the difference?
Yes. I hate it with a passion. Pointless meetings, planning that doesn’t matter and endless timesinks. The only devs I can imagine liking it are the ones that don’t want to take responsibility of the product backlog nor want to think about feature implementation. They just want micromanaged tiny tasks that tell then what to do next, a life void of responsibility.
kriiuuu··on Sonar is destroying my job and it's driving me to despair
Yes. I would quickly look for a new job. A linter should help the programmer along the way, but be easy to disable when it’s invalid.
kriiuuu··on Next-generation web framework Teo, supports Node.js, Python and Rust
Looks exactly like smithy?
kriiuuu··on Branded types for TypeScript
Scala 3 has opaque types for this. And libraries like iron build on top of it so you can have a very clean way of enforcing such things at compiletime.
kriiuuu··on Identifying Software
I use nix and the documentation is dogwater. It’s the best system I have ever used, but by god you need to get your hands dirty with it for a while.
kriiuuu··on Advanced Functional Programming Free Course
Seems more like intro to FP or rather intro to FP in Haskell.
kriiuuu··on California Approves Waymo Expansion to Los Angeles and SF Peninsula [pdf]
Show me indenpendant research that they are safer. I can’t find any.
kriiuuu··on Go Enums Suck
Haskell also has type erasure. It’s an implementation detail, or are you saying that Haskell does not have proper generics?
kriiuuu··on Learning Elm by porting a medium-sized web frontend from React (2019)
I have a medium sized project with it and the initial compile can be slow, however every recompile usually has the page updated as I switch from my editor to it. Not as fast as TS, but worth it for the much better programming language. Tyrian also makes it trivial to set up hot-reload with preserved state.
kriiuuu··on Tyrian – The Elm Architecture for Scala.js
TEA is the best way to build reactive frontends. Elm sadly has not taken a pragmatic approach to ffi with JS. Scala.js and Tyrian gives you a great alternative and has been my favourite approach for building reactive frontends.
kriiuuu··on Learning Elm by porting a medium-sized web frontend from React (2019)
If you want to try TEA, but not Elm I reccomend Scala.js with Tyrian[1]. Scala.js is a wonderful, mature project and Tyrian gives you the elm architecture in a very pragmatic way.

[1]: https://tyrian.indigoengine.io/

kriiuuu··on Maybe Everything Is a Coroutine
If you want to look at a very mature and used in industry effect system take a look at Cats Effect 3 in Scala.
kriiuuu··on Oslo acquires ChatGPT for 110k students and teachers
It sounds like you have no idea about what teachers actually do and how they interact with students.
kriiuuu··on My favourite Git commit (2019)
But if you don’t cater to the worst on your team you are often viewed as the problem
kriiuuu··on Turtles, a Shelly/Zigbee home automation tool in Elixir
They aren’t really open-source then are they?
kriiuuu··on Turtles, a Shelly/Zigbee home automation tool in Elixir
What is your reasoning behind nr.3? I don’t disagree as they seem hostile towards the nix HA project. At least that is what I gathered when I set up my zigbee devices on a NixOS server.
kriiuuu··on Bun, JavaScript, and TCO
Both Scala3 and Kotlin allow you to annotate functions with @tailrec which will give you a compiler warning if the compiler can’t optimize. And if you use the xfatal-warn compiler flag the Scala code won’t compile if your function is not tail call.
kriiuuu··on EmacsConf Live Now
Scala works very well now with Metals in emacs. I have used it without complaint. Although I use Neovim now for other reasons
kriiuuu··on Emacs Bedrock: A minimal Emacs starter kit
I use it for Java and Scala and it is great. The LSP support is good as long as the LSP implementation is good. I imagine it works well for most programming languages nowadays. I have Intellij Ultimate, but I have not needed or wanted to use it in ages.