1,795 karma · joined Sep 13, 2012 (14y ago) · 646 submissions
comment 7y ago · link · parent
The hard truth is that Scala was not designed with tool support in mind and it probably never will be. For example hierarchical implicit conversions, while powerful, are terrible for tooling.
comment 7y ago · link · parent
My own website is based on Hugo. While the usage (especially the template syntax) is not exactly a joy to use, it works fine and fast for years now. The only thing I need is some web space to drop static files, so it would be really easy to move to another provider. However I wouldn't recommend Hugo to non-technical writers, since the configuration and template syntax would scare them probably away.
The world needs more "static CMS" software (instead of just "static site generators")!
457.
Ask HN: Why are Attribute-based Architectural Styles (ABAS) not used widely?
4 points · by cryptos · 8y ago · 3 comments
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
And as far as I can remember from a former project the scalability is pretty limited (but this could have changed).
comment 8y ago · link · parent
Besides that I agree with the assessment that these tools are from developers for developers. In the end a static site generator is more like a special kind of build tool and less like a CMS (what non-technical users would need).
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
471.
Ask HN: What is a good alternative to Confluence?
33 points · by cryptos · 8y ago · 26 comments
comment 8y ago · link · parent
Another option could have been Swift, what is a more powerful language compared to Go.
comment 8y ago · link · parent
> Dahl’s experience was that using threads made for a heavyweight complex system. He sought something different, and spent a couple years honing and refining a set of core ideals arriving at Node.js. The result was a light-weight system, a single execution thread, an ingenious use of JavaScript anonymous functions for asynchronous callbacks, and a runtime library that ingeniously implemented asynchronicity.
He cured the symptom with an oversimplified solution. Having only one thread per process is a severe limitation. It would have been better, to create good APIs (like Reactor or Kotlin coroutines) or language-level solutions (like Rust) to handle multi-threading.
> In Java. Listeners require creating a concrete instance of an abstract interface class.
That is no longer true, since event handlers can be defined as anonymous functions since Java 8 (from 2014).
> Another learning: Most programming languages obscure the programmers intent, making it harder to understand the code.
The author mixes Java the language, Java the platform and libraries/frameworks, so it is worth pointing out, that the Java ecosystem is not limited to the Java language. Using Kotlin or Scala would remove his reasons to complain.
> JavaScript, by contrast, has loosey-goosey typing. The theory is obvious: The programmer has no certainty what kind of object they’ve received, so how can the programmer know what to do?
You have to make certain assumptions to handle incoming data, but it would be good for robustness and security to make these assumptions explicit. And, really, converting a Json string into a Java object is a single line calling Jackson and maybe a few annotations.
The section about modules could be applied to Java 9+ as well.
478.
What Comes After JDK 8?(azul.com ↗)
2 points · by cryptos · 8y ago · discuss
comment 8y ago · link · parent