Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
premium-concern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
premium-concern
10y ago
This is more of a split between techniques for programming-in-the-small vs. programming-in-the-large. All languages have this. You could write more or less the same list for Swift or Java with minimal changes. Again, do you have any actual
32.
▲
by
premium-concern
10y ago
I have never seen this.
33.
▲
by
premium-concern
10y ago
> Swift syntax is more intuitive and readable than Scala Example?
34.
▲
by
premium-concern
10y ago
> The problem with Scala is not that it has all the features of Swift, it's that it has way more. Please have a serious look at Swift. I don't think this claim stands up to any kind of scrutiny. Swift is more like C++ than anyt
35.
▲
by
premium-concern
10y ago
Even if it did, it wouldn't matter, because people would vote those politicians that tried this shit and their party out of office.
36.
▲
by
premium-concern
10y ago
Even government budgets have to adhere to some standardized schemes of reporting. See also rating firms. Otherwise even the US would have a balanced budget and no debts. (Ignoring the fact that the US is the main force behind trying to chan
37.
▲
by
premium-concern
10y ago
Given the size of the deposits, and the ROIs of available low-risk investments, does the difference really matter? Skip a single CappuFrappeGingerPumpkinLatte (or what people buy in cafes in SF) and you just got more money than any investme
38.
▲
by
premium-concern
10y ago
> However there are also co-operatives that invest your deposit and actually pass on the interest to you when you move out (these apartments are rare though). This is not optional. It is required by law. Interest from deposits belong to
39.
▲
by
premium-concern
10y ago
Consider two functions (excuse my Scala): scala> val str: Function[String, String] = s => if (s.length > 3) s else null str: java.util.function.Function[String,String] = $$Lambda$1369/859456754@2c668c2a scala> val
40.
▲
by
premium-concern
10y ago
Yawn. Java is the platform with NPEs and null checks everywhere. If that's your definition of practical, sure, go ahead.
41.
▲
by
premium-concern
10y ago
In Germany: - Rent increase limits - Larger changes need landlord's approval (changing walls and stuff). A lot of smaller stuff can be done on your own and doesn't require asking the landlords. (Many landlords are happy if you wan
42.
▲
by
premium-concern
10y ago
Which includes leased company cars. So yes, people don't finance their cars.
43.
▲
by
premium-concern
10y ago
> political brinkmanship and finger-pointing The difference is that parties that try to pull that in Germany not only loose elections, but are punished so hard by voters that they can't even get over the necessary 5% requirement in
44.
▲
by
premium-concern
10y ago
Optional#map is implemented incorrectly. someOptional.map(a).map(b) NOT EQUAL TO someOptional.map(a.andThen(b)
45.
▲
by
premium-concern
10y ago
No. Java messing things up as usual, doesn't have any broader impact on the usefulness of the concept. Error handling with null is wrong and broken, regardless of whether the null is "typed" or not. null might have some very
46.
▲
by
premium-concern
10y ago
Yep. "Don't buy things if you can't pay for then." sounds reasonable, but some other countries seem to disagree. Not surprised that those countries suffer from government shutdowns over how much the debt ceiling is raise
47.
▲
by
premium-concern
10y ago
That's an extremely weak argument. Java's Optional is broken and should never be used.
48.
▲
by
premium-concern
10y ago
Or you use Scala and Scala.js and just get things done.
49.
▲
by
premium-concern
10y ago
That's what "rent" means.
50.
▲
by
premium-concern
10y ago
Did you even bother to read the article before commenting? There is nothing a client can do when the server is compromised.
51.
▲
by
premium-concern
10y ago
I stopped taking this seriously after "the documentation is really good". Not sure whether this is your real opinion or you are just making fun of people who say that.
52.
▲
by
premium-concern
10y ago
I think this assumes that Oracle - can ship something in time - and that it will be generally available for developers (looking at how hard Oracle pushes their Java department to invent commercial features they can sell, I'm not sure a
53.
▲
by
premium-concern
10y ago
Is there anything this adds over Scala-native, which seems to be much further ahead already?
54.
▲
by
premium-concern
10y ago
Scala has value types, and on native all the current restrictions from the JVM are dropped. Additionally, you can also explicitly allocate things on the stack. You can also allocate continuous memory.
55.
▲
by
premium-concern
10y ago
The amount of code bloat is offset by optimizing a medium-sized picture.
56.
▲
by
premium-concern
10y ago
You don't need Autowite for that. That's pretty much basic functionality of Scala.js.
57.
▲
by
premium-concern
10y ago
That's kind of nonsense. Kotlin adds some syntax sugar to Java, but it's not related to Scala in any reasonable way.
58.
▲
by
premium-concern
10y ago
The difference is that Scala is a vastly better, designed language. It's not something like Typescript which tries to salvage JavaScript without being able to fix the worst parts. Scala also has much better, more mature tooling and IDE
59.
▲
by
premium-concern
10y ago
Not sure what you are talking about regarding SBT. SBT does incremental builds, it's one of the few that even do this interactively. It is also built on parallel-by-default execution: The task engine runs everything that can be compute
60.
▲
by
premium-concern
10y ago
Not sure if there is a "leading" one ... Lightbend, EPFL, IBM, Verizon, GoldmanSachs, SAP, Twitter, ...
More ›