Earlier quoted context omitted.
I'm not sure I understand, is there some special casing going on with "(== 10)"? As I'm admittedly not aware of it.
Not anything major. It's just syntactic sugar for "\x -> x == 10".
Server APIs Project
151–160 of 181 posts
Re: Server APIs Project
#152Is there anyway to build on Linux yet? Having to use a Mac to build and deploy is really inconvenient for some continuous integration setups.
Swift has had Linux support ever since it was open sourced.
Re: Server APIs Project
#153Earlier quoted context omitted.
Why? Java EE has a much stronger success track record than Erlang/OTP does.
Could you provide examples?
The trend has started moving away from it these past years but it's pretty clear that even the worst and early versions of Java EE (looking at you, EJB 2) have been used to power massive web sites and applications that are still in use today.
Erlang/OTP is nonexistent in comparison.
Re: Server APIs Project
#154Earlier quoted context omitted.
Then use Scala! You almost never need to deal with Java except if you want to. Plus, unlike C/Ruby/Python/.NET you get a JS backend that actually works¹ (unlike mess like GWT, or various other languages). ¹ In the sense of: Scala.js is stable, mature and production-ready. You can use it, save a lot of time, share a lot of code, use mny of the libraries you already know, enjoy great IDE and tooling support, use it in…
Scala on Android is pretty terrible
Deals with SDK dependencies automatically, typed resources and views, better Instant Run, ProGuard caching, extremely low overhead, fast compiles, ...
Re: Server APIs Project
#155Earlier quoted context omitted.
The problem with Scala is not that it has all the features of Swift, it's that it has way more. Scala developers see this as an advantage, everybody else sees that as a liability. Swift and Kotin manage to capture the perfect amount of "a few new features but not too many" of all languages I've played with these past ten years. They are both the perfect example of languages that hit the right compromise in many dimen…
I am terrified of working with experienced Scala developers. The code they write is less about implementing some business functionality in the most elegant way possible. But rather it's an exercise in who can use the most obscure parts of the language. And unfortunately there are far too many obscure parts.
Re: Server APIs Project
#156Earlier quoted context omitted.
In which sense?
I was saying Scala was designed for a certain audience in mind, probably Haskell/OCaml devs forced to develop for Java or something like that. Similarly Swift was designed for an intended audience in mind, iOS developers, and so certain programming features would not mesh well like higher kind types. Maybe this is more of a case of an ideal feature set as envisioned by Odersky vs' Lattner, idk. Either way different p…
The Scala community, on the other hand, got hijacked by a bunch of Haskell neckbeards who spew executable ASCII art over every codebase they get their hands on. The formation of the Scala Center feels like a response to this -- an effort to "retake" Scala.
Re: Server APIs Project
#157Thank goodness, I just made an app last week and it was surprising how difficult it was to actually make an http request and handle the response.
Re: Server APIs Project
#158Earlier quoted context omitted.
It usually means "good", though some people use it in an ironic sense to imply something is bad. Kinda like how "bad" can also mean "good" in the right context, but in reverse. Here I took it to mean "good."
The definition I am aware of is undeniably negative: "disagreeably damp, musty, and typically cold"
Re: Server APIs Project
#159Re: Server APIs Project
#160Earlier quoted context omitted.
In theory. I've never actually tried Excelsior or any other AOT Java compiler, so I can't comment on that. What I do know is that Swift is free and has first-class support for AOT compilation.
I think it was an error from Sun not to offer AOT in addition to JIT, but apparently they were religious against the idea, only offering it on the embedded JDKs. This could have made Java actually relevant on the desktop, ignoring for a second how clueless Sun was about doing good desktop libraries. However with Java 9 you will be able to use the new Java linker and create you own little VM + AOT startup code. So tha…