Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
newt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
newt
16y ago
here's not much collaboration on codebases that can happen Colaboration on codebases is overrated. Common protocols are where it's at. Stop and think about the web - is a common codebase needed to implement a web server or a web browser?
62.
▲
by
newt
16y ago
Every language? Java, as far as I know, does not allow if (someObject) where someObject is a class type. AFIAK, java only allows that if someObject is a bool, or possibly an int as well. In strongly typed languages in general, null
63.
▲
by
newt
16y ago
This article is Ok, in an introductory sort of way, but these are not "optimizations" in the sense that they will make your code run faster. They're syntactic sugar as heresy says. They're also not very hidden either.
64.
▲
by
newt
16y ago
The Expression tree part is powerful (you can inspect it with code, pull property names out, etc), but it's not needed in most cases. Your example in C# is: Func<int, int> f = x => x + 1; int b = f(42); This is shorter