Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
w23j
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
w23j
11y ago
I am not sure I understand. I guess you are either saying (A) to treat every return type as possibly null or (B) to use your judgment when doing null checks of return types. In case of (A): Do you want to write null-checks for methods lik
92.
▲
by
w23j
11y ago
At least one of the values of Optional is to communicate in the API that a value can be missing. The article mentions that: A programmer looking at the code for the first time will know, just by looking at the return type, "Hey, this
93.
▲
by
w23j
11y ago
TL;DR You can call `Optional.get()` to deliberately circumvent the safety mechanisms of Optional. The author apparently concludes that since it does not solve ALL error cases it does not solve ANY error cases...
94.
▲
by
w23j
11y ago
Yep. Levine's opinion of using the term "front-running" like that is made more explicit here: http://www.bloombergview.com/articles/2015-07-07/can-you-rea... Liberately quoted: '[...] man, rem
95.
▲
by
w23j
11y ago
Hacking Team: a zero-day market case study [1] seems to support the idea that iOS exploits are scarce. Especially compared to Android (when using your "less users" perspective). "Mobile: VUPEN offered several different rem
96.
▲
by
w23j
11y ago
The long form writing combined with an entertaining style and real experience to back up his stories made his stuff pretty unique in my opinion. Certainly among the best articles I have read on the net. I think it was in a Stackoverflow pod
97.
▲
by
w23j
11y ago
Wow, that looks great. Thanks a lot for the link.
98.
▲
by
w23j
11y ago
"Do Not Reinvent The Wheel Unless You Plan On Learning More About Wheels"
99.
▲
by
w23j
11y ago
Here is a shot at a back-of-the-envelope calculation of the sum of fees paid in his first example. I hope I haven't misunderstood. var gain = 1.08; var fee = 0.0025; var feeSum = 0; var s = 100000; for (var i = 0; i < 35; i++)
100.
▲
by
w23j
11y ago
Correct me if I am wrong, but the page has links to the book you mention as well. However, the your link says Edition 2005 while the pdfs linked to by the posted page say Revised Edition 2013 .
101.
▲
by
w23j
11y ago
I see. Thank you for the explanation.
102.
▲
by
w23j
11y ago
Love that sentence: [...] 'narrow' M1 money in the eurozone has been growing at a rate of 16.2pc (annualized) over the last six months. You do not have to be monetarist expert to see the glaring anomaly. Even though you do not h
103.
▲
Dealing with chronic pain
(robertheaton.com)
1 points
by
w23j
12y ago
|
0 comments
104.
▲
by
w23j
12y ago
This comment by Carmack seems to imply that the restrained use of advanced C++ features was more by accident then by design: I had C and Objective-C background, and I sort of "slid into C++" by just looking at the code that the C