Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laureny
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
laureny
13y ago
It's used in Kotlin and Ceylon, but the example above is really just a weak way to make up for the absence of overloading. The compiler should be making these checks, not the developer.
302.
▲
by
laureny
13y ago
> There's almost no excuse not to use Scala if you're deploying on the JVM - Poor tool support (refactoring regularly broken on both IDEA and Eclipse). - Terrible backward compatibility story (want to use CoolLibrary v1.0, whic
303.
▲
by
laureny
13y ago
> my first reaction to this was "bah, software patents. I love living in the EU." Your second reaction should have been "Oh wait, we have software patents as well in the EU."
304.
▲
by
laureny
13y ago
Actually, please do more than just "Hello world", which is not going to show how awesome your language is. Show a few snippets adding up to twenty or so lines of code that illustrate what's different about your language.
305.
▲
by
laureny
13y ago
Google has a strong history of not locking up devices in beta (and often, not even locking up released products either). I very much doubt it's a screw up.
306.
▲
by
laureny
13y ago
Or you could not be a douche and just ignore that email.
307.
▲
by
laureny
13y ago
I can't help but think that giving generic coding advice by using a dynamically typed language is anathema to a book, because you see all these symbols in the source (customer, account, etc...) but you have no idea what methods they re
308.
▲
by
laureny
13y ago
It's cute that even though pg is an Internet veteran, he still doesn't understand how HTML (and the web in general) works and he hardcodes br tags in his text at 80 columns.
309.
▲
by
laureny
13y ago
Cute idea but I prefer to set up these profiles in iTerm2 because when I ssh somewhere, I usually use a different background to differentiate the various hosts (production, staging, etc...). I also tend to split iTerm2 horizontally and vert
310.
▲
by
laureny
13y ago
That's the theory. In practice, your code is clearer if you use Maybe's all along the composition path, otherwise you spend your time unboxing/lifting values.
311.
▲
by
laureny
13y ago
That's quite a weird angle. Surely I can express unhappiness about a product's performance without being asked to fix it or to shut up?
312.
▲
by
laureny
13y ago
> IMHO Ruby is just now coming fully into its own, and is, for a young language Young? Ruby is 18 years old, it's certainly not a young language.
313.
▲
by
laureny
13y ago
Completely agree.
314.
▲
by
laureny
13y ago
> Otherwise, when your program throws a NullPointerException you'll have no way to know where that null originated from. Actually, it's the other way around: NullPointerExceptions are typically trivial to track down. Finding ou
315.
▲
by
laureny
13y ago
C++ walked in these very same footsteps. First by not having const, then by having it, then by allowing exceptions to constness, then by introducing const_cast and finally by allowing temporarily mutable const objects.
316.
▲
by
laureny
13y ago
> Thus the lack of IO in a function's type assures you, reliably, that the function does not cause side effects No. IO is not the only monad encoding side effects.
317.
▲
by
laureny
13y ago
I started programming in Ruby in early 2000 and I really liked it back then, but when I look at it today, the language feels very old. I don't know if it's the lack of types, the fact that you see streams of "end end end"
318.
▲
by
laureny
13y ago
What year is this, 2005?
319.
▲
by
laureny
13y ago
You must be a lot of fun at parties.
320.
▲
by
laureny
13y ago
> I agree with the sentiment, but this is an important development. If whistle-blowers get protection, we will likely see more of them. There has never been any doubt that whistle blowers can seek refuge in countries that are enemies of
321.
▲
by
laureny
13y ago
> The thing is that the USA remains a prosperous pleasant place to live..as long as you do not challenge authority. Tens of thousands of Americans question authority on a daily basis and nothing happens to them. America is still a place
322.
▲
by
laureny
13y ago
> Prism has done more harm to the USA that anything Snowden did. We don't know that. And if we were to speculate, we could observe that there have been very few terrorist attacks on the US in the past ten years. I'm not trying
323.
▲
by
laureny
13y ago
> Russia wants to have him as a possible tool to press the USA in the future Have you been following what's going on? It's becoming clear that Russia wants nothing to do with him. And it's understandable: harboring Snowden
324.
▲
by
laureny
13y ago
> He's pointing out that their stated justification doesn't make a lot of sense. Google says they're shutting down Reader to put more focus on a smaller number of products, but they're just as scattered as ever You ca
325.
▲
by
laureny
13y ago
> I would hate to see Snowden ending up in Venezuela. Let's be realistic: at this point, the only countries that would offer him asylum at the cost of defying the US are enemies of the US, such as Afghanistan, Iran or Cuba.
326.
▲
by
laureny
13y ago
> Now I think he has some sensitive information and he's auctioning it That would make him a full-blown traitor.
327.
▲
by
laureny
13y ago
"Europe" can be as angry as it wants, at the end of the day, it's a singly country that will have to give asylum to Snowden, and I can't imagine a single country in all of Europe (including Russia) that would challenge t
328.
▲
by
laureny
13y ago
> France also has a history of sheltering people from extradition to the US (just ask Roman Polanski). No, he was able to stay in France because he's a French citizen, nothing to do with extradition. Swiss, on the other hand, did re
329.
▲
by
laureny
13y ago
These French leaders are being extremely naïve in making such demands, probably the reason why they are all running minority parties. France is a very close ally of the US with much more than just extradition treaty ties. If Snowden set foo
330.
▲
by
laureny
13y ago
I'm having a very hard time parsing what you wrote and trying to understand how the tsar/soviet era (or anything you say in that comment) is relevant in any way to the current Snowden situation.
More ›