1,795 karma · joined Sep 13, 2012 (14y ago) · 645 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
> Today, 70+ people work on the core Kotlin project team at JetBrains
https://kotlinlang.org/assets/kotlin-media-kit.pdf
Plus a bunch of Google employees working on Kotlin stuff like the new K2 compiler.
comment 4y ago · link · parent
Akka had a really steep learning curve for doing relatively boring things. Technically it was quite interesting, a from a business perspective it was a desaster.
comment 4y ago · link · parent
comment 4y ago · link · parent
So, depending on your goals, I think Rust is the better language in general. But if your goal is to get something done fast, then Go would probably be better, since it doesn't require that much learning effort.
comment 4y ago · link · parent
comment 4y ago · link · parent
A simple, generic way could be a hash of the original URL with a compact representation:
http://example.com/some/path/to/stuff?filter1=asdf&filter2=90#positionX
http://example.com/s/Wq_2
/s stands for "short" and the ID is the hash representation. If you use a-zA-Z0-9 plus some URL safe characters like _ it should be reasonably short even for large sites. The CMS or whatever software doesn't have to to implement something, because it is mostly just a generic URL shortener running on the same host.comment 4y ago · link · parent
I will not go back to plain HTML, though. That is the other extreme, which is even harder to maintain, because changing the general structure, navigation or layout would require a lot of manual work. Maybe I'll write a site generator on my own ...
comment 4y ago · link · parent
First, XML configuration in Spring is mostly a thing of the past. Most applications are configured with annotations and component scan these days. While it is true that there is some magic in it, it is relatively rare to cause problems. With proper tooling like IntelliJ Ultimate it is mostly easy to manage and understand. If that still feels too magical, you can use a Java API to manage your classes: https://docs.spring.io/spring-framework/docs/current/referen... Even nicer in the Kotlin edition: https://docs.spring.io/spring-framework/docs/5.0.0.RELEASE/s...
> Importing other Spring files
That sounds like mixing different projects or poor API design.
> Spring is now so complex that it has it's own framework, Spring Boot
That is not true as such. Spring Boot is not an abstraction over the Spring Framework. It is more a convenience layer with useful defaults and some auto-configuration.
From my experience Spring brings some advantages:
- Quick start with https://start.spring.io/
- Auto-configuration of several frameworks like Hibernate, Spring sets up all the project infrastructure for you
- Transactions are provided out of the box
- Useful additions like metrics can be added almost without effort - Good support for integration tests
- Easy to use AOP
- Powerful dependency injection (for example the support for generics is pretty good)
comment 4y ago · link · parent