Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
incepted
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
incepted
11y ago
Good for you but it doesn't make your previous statement any less of a preposterous hyperbole.
332.
▲
by
incepted
11y ago
> Any PL student of a decent school, if he is not a hypocrite, would tell you that Java is the worst thing that happened to CS since MS DOS, That's why we don't listen to students to make this kind of uninformed claims. Java ha
333.
▲
by
incepted
11y ago
More like traits. Multiple inheritance of implementation is problematic because it allows parent classes to define state. Traits and Java 8's interfaces don't.
334.
▲
by
incepted
11y ago
But then are doing the bubbling manually and, on top of that, you pollute the return type of all the methods along the way. Suddenly, callers of such a function that just needed an Int now have to deal with an Either<Error, Int> and a
335.
▲
by
incepted
11y ago
You're assuming that you, the developer, will find the bug. You won't. Your users will. In production. Statically typed languages make sure you don't ship with that kind of buggy code.
336.
▲
by
incepted
11y ago
This sounds a lot like some scifi unwarranted fear mongering article. Is there any evidence that such a thing exists?
337.
▲
by
incepted
11y ago
Sure, it's much easier to write code that doesn't handle errors, but you're creating buggy code. Checked exceptions force you to think about error cases upfront, that's their value. More pain for developers, better softw
338.
▲
by
incepted
11y ago
Somebody recently made the acute observation that they love their own Scala code but that they always find other people's Scala code very difficult to read, and that it's probably the reason why Scala never imposed itself.
339.
▲
by
incepted
11y ago
The Defense industry is probably a very tough nut to crack for any language, but right now, I'm seeing Kotlin picking up some good momentum. I hope it can take off, it's a very decent alternative and improvement over Java.
340.
▲
by
incepted
11y ago
> I think years later people are going to look back and say we had it pretty good with Windows/Linux/*BSD and x86. I've long thought that Apple would have been a way, way worse monopoly than Microsoft ever was. I'm so
341.
▲
by
incepted
11y ago
This would make `git diff` an absolute nightmare.
342.
▲
by
incepted
11y ago
Keep forgetting that, thanks for the reminder.
343.
▲
by
incepted
11y ago
Java has reflection and not method_missing, yet you are probably the first person I ever heard call Java "dynamic".
344.
▲
by
incepted
11y ago
Ditto. I even moved my mouse cursor on the right side of the window, hoping it would stop. It didn't.
345.
▲
by
incepted
11y ago
I'm not sure we use the same definition for that word. By "dynamic", I meant "dynamically typed language". Java is certainly statically typed while Smalltalk is dynamically typed. What's your definition of &quo
346.
▲
by
incepted
11y ago
What you are looking at has nothing to do with dynamic languages. Static languages and modern IDE's do this just fine, and much more. Here is an example: https://youtu.be/rhN35bGvM8c?t=5998 This is notch (the creator o
347.
▲
by
incepted
11y ago
Are you responding to the right post? Because the post above yours doesn't say anything about that.
348.
▲
by
incepted
11y ago
I understand the urge of certain people to fight Slack but if you think irc is a legitimate alternative, you probably don't understand the problem enough to offer a suggestion. More credible alternatives would be Hipchat or Gitter but
349.
▲
by
incepted
11y ago
> On the other hand, you have not addressed even a single one of the main points I've raised, except come back with great fury against some statements I've made that may not have been clear. And this is why creators of language
350.
▲
by
incepted
11y ago
> A language without higher-kinded types or type-classes cannot be the language that "Scala should be" You don't really get to say what other people think Scala should be. You like higher kinds, so do I, I'm glad they
351.
▲
by
incepted
11y ago
The point remains that you should let the browser reflow the text based on the width of the browser. <br> makes this impossible.
352.
▲
by
incepted
11y ago
More useful would be "talk like you write". The best speakers are the ones who are best at that because of the mental discipline it imposes: no uh, er, ah or pauses, just grammatically correct sentences, all the time.
353.
▲
by
incepted
11y ago
> Here's a simple trick for getting more people to read what you write: write in spoken language. Speaking of doing what you preach: stop adding manual <br> in your articles, it makes them unreadable on mobile and wide monitor
354.
▲
by
incepted
11y ago
> What's completely inexplicable is why it took 23 years to do this. At least, it did get revamped. Notepad and the Command window are still pretty much what they were in Windows 95.
355.
▲
by
incepted
11y ago
> there is no governing body to determine whether you are agile or not Tell that to agile advocates who are always quick to point out that when a project using Agile fails, it's never Agile's fault, it's always because the
356.
▲
by
incepted
11y ago
> Team members reject Agile methodologies openly, as they do not want to be pushed out of their comfort zones Or maybe they have identified Agile for what it is: a snake oil methodology that's completely unproven, which sometimes wo
357.
▲
by
incepted
11y ago
No, a mere engineer who takes writing correct code very seriously. But the simple fact you seem to throw the term "academic" derogatorily tells me a lot about you.
358.
▲
by
incepted
11y ago
> static type declarations aren't necessary for correct automatic refactorings. They very much are, it's a scientific fact (look up the Curry-Howard isomorphism).
359.
▲
by
incepted
11y ago
> They both have IDEs with automated refactorings. Yes but they do not guarantee correctness. They can't, the IDE simply doesn't have enough type information for that.
360.
▲
by
incepted
11y ago
> Smalltalk does have refactoring IDEs. Yes, but very few of those are automated. Which is not surprising since the absence of types in Smalltalk can lead to refactorings that break your code, so user supervision is necessary. > I bro
More ›