Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sandman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
Sandman
12y ago
I don't think anyone's getting confused but I do think that having four different ways to write essentially the same thing can lead to inconsistent code. And when you have a large project with lots of people working on the same co
92.
▲
by
Sandman
12y ago
> Does the syntactic diabetes really bother people? Like, yes, these are different sequences of characters that mean the same thing, but visually it's very clear that they are the same thing; it's not the perl "there is mo
93.
▲
Clojure Cup 2014 Apps
(clojurecup.com)
118 points
by
Sandman
12y ago
|
14 comments
94.
▲
by
Sandman
12y ago
I'd recommend Nightwish. Start with "Moondance" and go from there. And, of course, there's always Yngwie Malmsteen.
95.
▲
The Unique Merger That Made You (and Ewe, and Yew)
(nautil.us)
1 points
by
Sandman
12y ago
|
0 comments
96.
▲
Scientists raised these fish to walk on land
(theverge.com)
1 points
by
Sandman
12y ago
|
0 comments
97.
▲
Clojure Pitfalls: Part 1
(mishadoff.github.io)
5 points
by
Sandman
12y ago
|
0 comments
98.
▲
by
Sandman
12y ago
Oh, I didn't mean to imply that web proxies are trivial, simply that this is nothing new - there are hundreds of proxy sites from all over the world on http://proxy.org/cgi_proxies.shtml . Still, if you made this, good
99.
▲
by
Sandman
12y ago
Ok... so - this is a web proxy service. Am I missing something here or is this all there is to it?
100.
▲
by
Sandman
12y ago
Or they could do away with LOC as a metric entirely and use number of repos instead?
101.
▲
by
Sandman
13y ago
> Marriage has historically been a religious ceremony, and by legalizing gay marriage we're codifying what opponents view as an assault on their deeply-held religious beliefs. Couldn't the same be said about civil marriage i
102.
▲
Net neutrality law adopted by European Parliament
(bbc.com)
1 points
by
Sandman
13y ago
|
0 comments
103.
▲
Facebook Has Become The New Yahoo, And It's Obvious Mark Zuckerberg Knows It
(businessinsider.com)
8 points
by
Sandman
13y ago
|
2 comments
104.
▲
by
Sandman
13y ago
As you may have guessed from my previous comment, I hate it when people write "foo".equals(bar). This kind of a clever trick is an accident waiting to happen unless you're really, really ok with null being a valid value for b
105.
▲
by
Sandman
13y ago
By the way, nobody should ever use "foo".equals(someVariable) anyway. If anything, it should be someVariable.equals("foo"), unless you really know what you're doing and are ok with null being a valid value of someVa
106.
▲
by
Sandman
13y ago
Sure, but: a) Now your singleton is also responsible for providing a mock implementation of itself (which shouldn't really be one of its concerns). b) You didn't really do anything here: the class under test is still going to use
107.
▲
by
Sandman
13y ago
C.getX() is going to be called by many different methods in many classes. This means that each time you unit test any of these methods, you're also testing C.getX() when you should only be testing what the method does.
108.
▲
by
Sandman
13y ago
> Who says that you have to be able to mock C? Not every class should be mockable. In case described by OP, why would we want to mock cache anyways? Well it isn't really a unit test if you don't, is it? If you don't mock i
109.
▲
by
Sandman
13y ago
Doing x=C.get(x) is bad because there's no way of mocking C, thereby making unit testing a component that uses C impossible (the unit test will need to use the concrete implementation of C). Using dependency injection as described in t
110.
▲
by
Sandman
13y ago
Don't Call Yourself A Programmer, And Other Career Advice http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pro...
111.
▲
What TypeSafe Should be Working On
(blog.goodstuff.im)
1 points
by
Sandman
13y ago
|
0 comments
112.
▲
by
Sandman
13y ago
You were viewing Chris Granger's blog. This was a blog post about the new Light Table version. What you're looking for is at http://www.lighttable.com/
113.
▲
by
Sandman
13y ago
Ok, yes, I get it now :). Thanks for the explanation.
114.
▲
by
Sandman
13y ago
Wait, explain it to me like I'm 10 years old. As I see it, there are three options - either it's a boy-boy pair, a girl-girl pair or a boy-girl pair. Now, since OP introduced the age variable, let's give the kids names to mak
115.
▲
by
Sandman
13y ago
Which means you used a bad naming convention. I hope you updated them to something that is descriptive enough and yet won't need to be changed next time marketing decides to change the product name.
116.
▲
by
Sandman
13y ago
Keep in mind that this only shows how many Linux users run native steam clients. A lot of us also run Steam through Wine so that we can play Windows-only games. It's a buggy experience, but what can you do...
117.
▲
Nicky Crane: The secret double life of a gay neo-Nazi
(bbc.co.uk)
2 points
by
Sandman
13y ago
|
0 comments
118.
▲
by
Sandman
13y ago
It's just that sentences like "There certainly seems to be a grand coalition of people who want to attack Scala" and "why is everybody attacking Scala" struck me as a bit paranoid. Sure, there are people that tried
119.
▲
by
Sandman
13y ago
One thing I noticed about Odersky is that he is very protective of his creation (which is understandable, to some degree). He defends Scala against any and all criticism with a fervor, and this puts him in sharp contrast with most of other
120.
▲
JavaScript closure vs. object look-up performance
(marijnhaverbeke.nl)
1 points
by
Sandman
13y ago
|
0 comments
More ›