Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
beders
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
511.
▲
by
beders
8y ago
OOP is great if all you are doing is OO and if your solution to a problem is running a simulation (what OOP was invented for). But you are not staying in your pure OO-world nowadays. There's always the boundary issue where you are givi
512.
▲
by
beders
8y ago
" For the former, it strengthens our case that science and faith are compatible." No it's not. Humans are just able to hold contradictory or conflicting thoughts in their heads simultaneously And it cheapens science when you
513.
▲
by
beders
8y ago
Great effort, thanks!
514.
▲
by
beders
8y ago
Sometimes I feel like we are living in the wrong timeline. In the right timeline, a deeply flawed language like JavaScript would never have been successful and we would use a decent application delivery mechanism that is platform-sensitive
515.
▲
by
beders
8y ago
> Safety. Yes, Rust is more safe. I don’t really care. In light of all of these problems, I’ll take my segfaults and buffer overflows. I especially refuse to “rewrite it in Rust” - because no matter what, rewriting an entire program from
516.
▲
by
beders
8y ago
I'm in the middle of this transition and the biggest challenge is getting the OO way of thinking out of people's heads. It's very challenging to stop thinking about mutating state in an object graph and adopt a functional pro
517.
▲
by
beders
8y ago
I don't think life is about solving problems at all. Since life is short and there's no second attempt, strive for whatever makes you and your loved ones happy and doesn't cause harm to others. If that means working in a soft
518.
▲
by
beders
8y ago
Sematell | Clojure Developer | Saarbrücken, partially REMOTE, Germany | Sematell is Europe's leading provider of call-center Response Management software. We do e-mails, social media postings even fax & letters and help our custome
519.
▲
by
beders
8y ago
Adding new syntax to Java is tricky (unless certain other JVM languages starting with C ;) but I was really disappointed in the string proposal. At the very least, have a default, optional string substitution feature. It ain't that har
520.
▲
by
beders
8y ago
If it is for his pressing need, he can maintain a fork. And it is not difficult to maintain a clojure fork given its release cadence.
521.
▲
by
beders
8y ago
I don’t know this person but there’s a fork button on github. “Pressing need” —> fork Seems to be an ego thing.
522.
▲
by
beders
8y ago
To be fair, the author uses a very simple program: a number that evaluates to itself to show the general approach for a genetic algorithm. It shows quite nicely the advantages of dynamic typing and abstractions together with very readable d
523.
▲
by
beders
8y ago
A 1% failure rate is not safe. Stop reporting this absolute non-sense.
524.
▲
by
beders
8y ago
N+1
525.
▲
by
beders
8y ago
wholesome
526.
▲
by
beders
8y ago
Or any actor-based framework. The less state you share, the better off you are scaling-wise.
527.
▲
by
beders
8y ago
> There is less punctuation in general, so the parens are more obvious. Instead of f(x, y, z) you write (f x y z). Without the commas, the parens stand out because that's all that is left. Well put, Madam/Sir.
528.
▲
by
beders
8y ago
Another clear signal that React alone isn't enough and should be used only as renderer. Now get off my lawn while I tend to my rum* * https://github.com/tonsky/rum
529.
▲
by
beders
8y ago
Types are for the compiler. Not humans. We just happen to use it as a way to remind us what data looks like. It's not the only way to figure out what happens in a function. I've gone the exact opposite route now: From static types
530.
▲
by
beders
8y ago
> Except for the fact that objects can be serialized and ORM's exist to convert your data into OOP. Except for the fact that there's usually a mismatch between how your database handles data and how you want to get them back in
531.
▲
by
beders
8y ago
How many projects do you know that do that? Yes, the original intent of OOP is message passing between objects. But no on thought about massive parallel computing back then. And how many objects do you want to run in its own thread? 10k? 10
532.
▲
by
beders
8y ago
OOP has no built-in facilities to deal with multi-threading. It's orthogonal to it and that's a problem. Thread safety can't be expressed or enforced and you can't grab a bunch of classes from somewhere and assume anythi
533.
▲
by
beders
8y ago
I think OOP is fine as long as it's the only thing you are doing and as long as it is single-threaded. Problems will occur if you need to convert the innards of your objects to data (i.e. JSON etc.), if you need to materialize objects
534.
▲
by
beders
8y ago
What about benefits? Or is the taxpayer going to shoulder that bill? Like it does with Walmart workers?
535.
▲
by
beders
8y ago
Is anyone aware of a generator that uses simulation of geological processes? Volcanic processes, raising/sinking plates, followed by erosion, creating rivers, lakes, elevation/temperature based vegetation?
536.
▲
by
beders
8y ago
Was about to comment in a similar fashion. One more example of a language who has embraced this: Clojure Protocols, polymorphism, dynamic dispatch (i.e. multi-methods) and immutability baked in.
537.
▲
by
beders
8y ago
How do you test all this magic going?
538.
▲
by
beders
8y ago
Let's not forget that if you are not passing immutable data-structures into your pure functions, all bets are off. Unless you code very defensively, there's no way you can guarantee purity, especially in async programming. Given f
539.
▲
by
beders
8y ago
Vert.x is pretty sweet. It's basically like Node.js but automagically multi-threaded and will also play nicely with fibers. Performance is usually way better than any Spring-driven app.
540.
▲
by
beders
8y ago
I've been on both sides of this. Whiteboard interviews are good for a couple of things: Can the candidate explain a problem on a whiteboard? Is his hand-writing legible? It's not sufficient to decide if someone can code. You want
More ›