Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geophile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
751.
▲
by
geophile
10y ago
Well, I got groped by the TSA last week. You've got to keep a balanced view -- remember the good and the bad.
752.
▲
by
geophile
10y ago
Because numbers are, by their nature, immutable. I think an object should reflect the externally visible properties of the thing being modeled. To me, that is the whole point of OO. If I have two variables pointing to the same mutable Numbe
753.
▲
by
geophile
10y ago
> It may be reasonable, but it's not OO. Says who? I.e., do you have any references? It is easy to give examples arguing either side. I agree that your bus example is best modeled as a mutable object. The same bus can have different
754.
▲
by
geophile
10y ago
> immutability and OO are diametrically opposed concepts. Why do you say that? It is completely reasonable to define objects whose state is fixed at creation, hide a representation, and have methods that implement some abstraction. E.g.,
755.
▲
by
geophile
10y ago
A class that holds data and has no methods other than get/set is basically a struct. Why even bother with the get/set methods? You assert that code based on this approach is easier to understand, but you don't give a reason w
756.
▲
by
geophile
10y ago
I view OO as analogous to the earliest control structures added to programming languages. We all remember "GOTO considered harmful", including generations of programmers who weren't alive when the letter was written, and may
757.
▲
by
geophile
10y ago
Since we're quoting Doug Adams: “The Guide says there is an art to flying", said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss.”
758.
▲
The Remarkably Bad Design of the AirPort Time Capsule
(pastebin.com)
1 points
by
geophile
10y ago
|
0 comments
759.
▲
by
geophile
10y ago
It's a waste of time and money, for a few reasons. 1. Suppose you get your patent. You won't enforce against an infringer unless at least one of you is making a lot of money from it. You'll already be beating the odds if you
760.
▲
by
geophile
10y ago
(BTW, I don't think it's that simple either. Just pointing out that TDD is a possible approach to avoiding the infinite recursion of specs-are-just-programs-in-a-higher-level-language.)
761.
▲
by
geophile
10y ago
Software produced by a typical business app developer is not provably correct either. TDD of AI generated code could not hope to produce something more correct. As your tests get better, so would the software produced both by the human and
762.
▲
by
geophile
10y ago
Doesn't TDD basically provide a spec? Write a test, then let the AI generate a program that passes the test. If the program is still buggy, you didn't write sufficient tests.
763.
▲
by
geophile
10y ago
I use XCode for the absolute minimum, and when done with it, go back to AppCode.
764.
▲
by
geophile
10y ago
I have a concern not mentioned in the article. I have had tinnitus for 30 years. I have not heard silence in that long. I hear a constant, high-pitched squeal, mostly on my right side. Between that, and diminished hearing on the same side (
765.
▲
by
geophile
10y ago
Corporate or individual license? If individual, how many licenses did you buy?
766.
▲
IDEA individual license
1 points
by
geophile
10y ago
|
3 comments
767.
▲
by
geophile
10y ago
"Like a startup inside a big company" seems dubious. I have heard it so many times through the years, and it just never pans out. It is basically a euphemism for: you will start with a blank piece of paper and work very hard in a
768.
▲
by
geophile
10y ago
Jesus H. Christ, what an irritating writer.
769.
▲
by
geophile
10y ago
If you love technology, the new place offers it, and the old place doesn't, then that alone is a good reason for moving. You aren't causing your vested options to lose value by moving since your current employer sounds like it val
770.
▲
by
geophile
10y ago
I do not understand beyond "Open SSL is broken", but it sounds both terrible and important. Can someone please explain a bit more?
771.
▲
by
geophile
10y ago
His favored solution introduces subtlety and complexity. Remember that 20-year old binary search bug in the JDK a few years ago? That is the sort of bug that could be lurking in this solution. I understand not wanting to waste one slot. A t
772.
▲
by
geophile
10y ago
I've considered and rejected the idea of investing. Coaching is an interesting idea. Any recommendations on how to get started?
773.
▲
by
geophile
10y ago
After 25 years in startups, with several of them paying out, I was able to retire at 55, so I did. I still love writing software, but I got tired of: not having a life, due to insane startup schedules; the stress of startups; working for id
774.
▲
by
geophile
10y ago
My wife works in an Apple store. During her training/indoctrination/kool-aid drinking, she was asked her impression of the iPad, and she said that it was a device for couch potatoes, consuming content. She was slapped down pretty
775.
▲
by
geophile
10y ago
I skimmed this article, but isn't it basically saying that the distrust is justified? The examples of success are unhealthy, consumer-oriented products (e.g. breakfast cereal, cigarettes, Trump), or marketing aimed at marketers. They c
776.
▲
by
geophile
10y ago
I grew up with music vinyl, when the only alternative was cassette tapes. Both of those were terrible choices. They are both fragile, and degrade with each listening. CDs were a fantastic invention. I understand that MP3s are a step backwar
777.
▲
by
geophile
10y ago
I actually looked through System Preferences. I did not see a new Touch Bar option, and it didn't occur to me that a non-keyboard device would be configured under Keyboard. My bad. While this does improve things, I would still rather h
778.
▲
by
geophile
10y ago
I have my MBP (with real function keys) set up to not require than I press the Fn key to operate them. Pressing Fn to access the function key is an undesirable workaround.
779.
▲
by
geophile
10y ago
How does a programmer evaluate this machine without discussing at least one of vi and emacs, and the absence of real Esc and Fn keys? By the way, I visited an Apple store and played with the new 15" MBP. It's even worse than I tho
780.
▲
by
geophile
10y ago
Best police show ever.
More ›