5 ms·
Content on HN about the holy trinity of programming languages, text editors, and operating systems generally favors less popular options with more mystique. Any
by snazz 6y ago
Content on HN about the holy trinity of programming languages, text editors, and operating systems generally favors less popular options with more mystique. Anything about Java is probably going to be largely neutral or negative, while a piece on Common Lisp might be much more positive, even though Java is a far more successful programming language in most ways.
I don't think that this bias is a bad thing. It's nice to read about cool technologies that you might not use in your day job. But anyone using HN to decide on the right tool for a project should carefully consider other sources of information as well.
- AnimalMuppet 6y agoAssume for the moment that all languages are equal. (They aren't, but ignore that for the moment.) If you say something good about Java, there are a lot of people here who have used Java, and some of them have bad impressions that they came to through some pain. But if you say that Common Lisp is great, there are fewer people who have really used it, so fewer people who have used it and didn't like it. And since fewer people got into it unless they really wanted to, it's easier to say "You didn't really understand it, then, or you would have liked it." The number of people who can say "No, I really got it, and I still didn't like it" is relatively small. So far, that's just demographics. But then you get into the language itself. Java isn't an exciting language. It's not fun. It's kind of corporate and bland. There aren't many people who are really enthusiastic about Java - nor does Java give them reason to be.
- didibus 6y agoThat's true, I also think Java is most people's job, and your job is never as exciting as your side project. That said, I am quite excited about Java and maybe especially advancements in the JVM even though part of my job is in Java. GraalVM is doing some amazing things with polyglot support and native compilation. Java's project Loom is trying to bring fibers in a really nice way to the language. It is slowly working on bringing value types and inline types as well. And it's got a few cool GCs being experimented on, as well as a nice foreign memory API. Java recently got really nice improvements, multi-line strings, text blocks, local type inference, a shell, running code from source scripts and switch expressions.
- SOLAR_FIELDS 6y agoMy favorite thing about Java (well, I guess more of the JVM ecosystem) is that there is a battle tested, production ready canonical package for just about anything that you could imagine. And that there is a battle tested, canonical way to get that package onto your system and into your build .
- nine_k 6y agoBut leaving OCaml for F# is a bit like leaving Scheme for Common Lisp. Most of the underlying ideas are largely the same. Moving from OCaml to C++ or Go would be a drastic and surprising change, but it's not nearly like that.
- Gene_Parmesan 6y agoNot really sure that's a close comparison. From a language semantics perspective, yes, OCaml and F# are very similar. But F# has access to all of .NET, so you aren't going to be at a loss for libraries -- which is probably the biggest challenge in using OCaml in production, as discussed in the OP.
- deleted 6y ago[deleted]
- linfocito 6y agoIt's (way) more like leaving Scheme for Clojure.
- noncoml 6y agoIsn’t it more like leaving Scheme for Clojure?