Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nessus42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
451.
▲
by
nessus42
14y ago
Hmmmm, well I wasn't asking about invariants in the way that this term is typically used. I was asking about adapability to future changes. The lure of encapsulation has been that it places a firewall (i.e., the "interface" or "signature")
452.
▲
by
nessus42
14y ago
Wow, that's not something you see much on the Internets! Well, then, I also appologize for misjudging you and for getting so riled.
453.
▲
by
nessus42
14y ago
I also know from having worked at Harvard that most Harvard students these days graduate with little or no debt due to a generous financial aid system there. I wish it had been like that when I went to MIT. (MIT did have plenty of financia
454.
▲
by
nessus42
14y ago
> That's uncalled for. I was being polite in my choice of words. And I wasn't? You effectively called me a liar, and yet I didn't tell you to fsck off. I gave you every choice about other uses for your thinly veiled accusation. >
455.
▲
by
nessus42
14y ago
> Just because it is Functional Programming it does not mean to "throw away encapsulation". Surely not, as even Clojure has support for OO programming. But Rich Hickey says that 90% of the time that encapsulation is used by OO program
456.
▲
by
nessus42
14y ago
> Are there more, or was that the one you were referring to originally? That's the one. Though there are two with that name, I believe. One for Strange Loop and one for a Ruby conference. The two talks are mostly the same, but it's wo
457.
▲
by
nessus42
14y ago
Wow, CLU! Those were the days!
458.
▲
by
nessus42
14y ago
> naming an anecdotically supported observation "Law" is a bit of a stretch ;) Maybe, but it's a common thing to do. C.f., the Law of Thirds.
459.
▲
by
nessus42
14y ago
> Have you ever tried to read any Demeterized code? What are you suggesting as an alternative? It should be noted that the original Demeter system would fetch sentences (or whatever) based on a description of the data structure that w
460.
▲
by
nessus42
14y ago
As to coming up with the "simplest" representation, that's almost certainly excellent advice whether doing OO or FP. It should be noted that Hickey has a rather specific notion of "simple" that may be rather different from more typical intu
461.
▲
by
nessus42
14y ago
Hmmm, this might be kind of similar to what the Demeter system actually did. With Demeter, you would provide some sort of machine readable descriptions for your data structures. Once you implemented this description, you could ask Demeter t
462.
▲
by
nessus42
14y ago
> Is this roughly what you had in mind, or have I completely missed the mark? Maybe, but I'm not sure. If you don't encapsulate the data behind an API, then I suspect that you will eventually be sorry. And if you do encapsulate the
463.
▲
by
nessus42
14y ago
So, basically what you are saying, as far as I can tell, is that there is absolutely no difference between the OO approach using the Law of Demeter and the FP approach. (Though with an FP approach, you are perhaps more likely to make things
464.
▲
by
nessus42
14y ago
Rich Hickey specifically says that his approach makes you more readily adaptable to future requirement changes, rather than less adaptable, as an OO die-hard might claim. I'm not sure I understand how the "get it right to begin with" approa
465.
▲
by
nessus42
14y ago
I've been watching some talks online recently by Rich Hickey of Clojure fame, and he's a very interesting and convincing speaker. He basically makes the same argument that Armstrong makes here. I'm not clear, however, how the pro-FP, anti-O
466.
▲
by
nessus42
14y ago
The Jaguar has a very distinctive front-grill. The rest of the car is less unique, but if someone were to copy the Jaguar down to the front grill, then Jaguar should sue. The Mercedes is not very distinctive to my eye, other than the promin
467.
▲
by
nessus42
14y ago
> Apple should focus on competing on the quality of THEIR product. Isn't the quality of Apple's design part of the quality of their product? If other companies can copy Apple's design, then other companies can just copy a significant
468.
▲
by
nessus42
14y ago
Certain cars have a very distinctive look, and intentionally so. If another company were to try to make a car that slavishly tried to copy their distinctive look, then I think the first car company would have every right to sue the second c
469.
▲
by
nessus42
14y ago
IANAL, so I'm not arguing from legal principles, but from moral ones. If you want to sell something, you should sell something that is yours, not someone else's. Apple's design belongs to Apple, not to Samsung, and consequently, Samsung sho
470.
▲
by
nessus42
14y ago
I have never seen two brands of cars that I couldn't distinguish in a second or two, any double-takes notwithstanding. It would not take me a minute. Nor have I seen two models of cars that were slavish copies. When the day comes that all t
471.
▲
by
nessus42
14y ago
I was referring to the physical aspects of the device more than anything else, though the home screen was also remarkably like iOS. All the icons looked a bit wrong, which caused the confusion that led me to more closely examine the physica
472.
▲
by
nessus42
14y ago
I don't think that Apple is playing dirty tricks in this regard. I'm not particularly sympathetic to many kinds of patents that are being enforced these days, but Samsung is clearly trying to make slavish copies of Apple products, and Apple
473.
▲
by
nessus42
14y ago
I agree completely! Banana plugs are awesome, and nothing prevents you from screwing them onto bare wire. In fact, that's how it's usually done, isn't it? (It's certainly how it's done at my house.) Screw once, and then you're set for life!
474.
▲
by
nessus42
14y ago
This sentence is true. True or false? I took two classes by George Boolos at MIT. They were a lot of fun, and Prof. Boolos was a rather strange fellow. The Department of Linguistics and Philosophy has a memorial display case filled with som
475.
▲
by
nessus42
14y ago
Why shouldn't engineers "mock" the things that they think are badly designed? But by "mock" I mean criticize. In fact, as an engineer, it's one's professional duty to criticize bad design, as good design is essential to the endeavor of engi
476.
▲
by
nessus42
14y ago
> If I saved it then I would have to organize it, keep track of it and back it up. I really find this hard to swallow. It fails for me on so many counts. Firstly, code is small compared to just about anything else you might keep on yo
477.
▲
by
nessus42
14y ago
If you didn't ask candidates to bring code samples, it should come as no surprise that most don't, even though they might be able. Where I work, we don't ask candidates to bring in a random code sample because instead we have them submit a
478.
▲
by
nessus42
14y ago
> If I have to worry about supporting users when it's against my better interest, then I am strongly disincentivized from offering an online service. The situation is different for individuals or small companies than it is for large c
479.
▲
by
nessus42
14y ago
> No one is entitled to consume another company's API, or else there would be no such thing as an API key. That would depend on what you mean by "entitled" and by "consume". Lawsuits happen all the time because one entity believes tha
480.
▲
by
nessus42
14y ago
Okay, well Google doesn't want to hire you if you can't write efficient and elegant code on a whiteboard for a problem they've specified while they look over your shoulder. Me, I only don't want to hire you if you can't take a few pages of
More ›