1,795 karma · joined Sep 13, 2012 (14y ago) · 646 submissions
comment 6y ago · link · parent
It is really hard to become a good Scala programmer, but it is not hard to become a good Kotlin programmer. All the little things that make Scala theoretically better are not worth the learning effort. In Kotlin you get 80 % for 20 % of the effort.
Scala is separated in subcultures. Some developers use it as "Haskell for the JVM" and other as a "better Java", or something between. That makes hiring and picking up existing projects hard.
Tooling is another weakness of Scala. Scala IDE (Eclipse) is more or less dead. IntelliJ with the Scala plug-in is ok, but the Kotlin support is much better.
comment 7y ago · link · parent
comment 7y ago · link · parent
Today I'm using AsciiDoc with AsciiDoctor. The AsciiDoc syntax is as pleasant as MarkDown, but much more powerful and more consistent. AsciiDoc can be converted to DocBook if needed, but I've never needed this possibility, because all I need is PDF and HTML output.
429.
Ask HN: What organization to support to prevent climate apocalypse?
3 points · by cryptos · 7y ago · 3 comments
comment 7y ago · link · parent
HTTP adpater receives request -> object is loaded from database as immutable object -> business operation creates a modified copy -> DB adapter persists the new object.
The last step could be improved if the DB adapter would look what was actually changed. Since everything is immutable it is as easy and fast as comparing references (like React does btw). This works even with Domain Driven Design, what is usually used with mutable entity objects.
[1] https://blog.ploeh.dk/2016/03/18/functional-architecture-is-...
comment 7y ago · link · parent
https://www.spiegel.de/wirtschaft/kinderschokolade-wuetender...
Translation:
https://translate.google.com/translate?sl=auto&tl=en&u=https...
comment 7y ago · link · parent
https://kotlinlang.org/docs/reference/coroutines-overview.ht...
comment 7y ago · link · parent
If I look at Go code, for example, I can hardly bear all the tedious repetition and dumb code! There is hardly any magic in Go, but the downside is, that you have to write every `filter`, `map` and `reduce` by hand.
comment 7y ago · link · parent
But except of legal affairs the climate crisis is the next reason not to rely on this domain. If the humanity continues its course the ".io island" will soon be under water.
comment 7y ago · link · parent
But thanks for replying seriously, even if you doubted that I wasn't only trolling (what was not my intent).
comment 7y ago · link · parent
comment 7y ago · link · parent
For a community-driven project from the size of a database some serious sponsors would be needed. Good examples are Rust, Linux, and PostgreSQL. I wonder why so many companies are happily paying Oracle (and the likes) tons of money instead of sponsoring an open source project like PostgreSQL.
comment 7y ago · link · parent
Interesting is that the Akka community put a lot of effort in implementing statically typed actors. But as far as I know (I'm not quite up to date) there is no final solution to it. It is controversial if it is even the right thing to do.
448.
Future UI Design Without Buttons(toptal.com ↗)
2 points · by cryptos · 7y ago · 1 comment