Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
icholy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
331.
▲
by
icholy
10y ago
What's wrong with struct tags?
332.
▲
by
icholy
10y ago
> Avoid vendor locking. It's open source. > you can just strip all type annotations with Babel and move on. Are you implying that this isn't possible with TypeScript?
333.
▲
by
icholy
10y ago
When a program panics, it's saying that there is a fundamental problem with your logic. Closing closed channels and dividing by zero are both examples of those.
334.
▲
by
icholy
10y ago
Unfortunately those lectures are not complete.
335.
▲
by
icholy
10y ago
Right? The only reason I got hooked on coding was because I was making cool things. Good practice and CS fundamentals came later. If programming was introduced to me in this "bottom up" approach, I would have lost interest. Math e
336.
▲
by
icholy
10y ago
FWIW I already have both of those.
337.
▲
by
icholy
10y ago
> But I've given up at aiming at perfectionism in programming. Optional typing is the sweet spot.
338.
▲
by
icholy
10y ago
I wish they had hard copies.
339.
▲
by
icholy
10y ago
The new type system features are: keyof, lookup types, and mapped types. Does flow have even one of these?
340.
▲
by
icholy
10y ago
I think he's joking.
341.
▲
by
icholy
10y ago
They do different things.
342.
▲
by
icholy
10y ago
It doesn't seem to be open source.
343.
▲
by
icholy
10y ago
"I was elected to lead, not to read"
344.
▲
by
icholy
10y ago
Tada https://github.com/Microsoft/language-server-protocol
345.
▲
by
icholy
10y ago
Python is pretty hit and miss with readability.
346.
▲
by
icholy
10y ago
lots of time I see people compromise readability to chase this "beauty" and "elegance". Go makes this practically impossible.
347.
▲
by
icholy
10y ago
See TextDocumentSyncKind and TextDocumentItem.
348.
▲
by
icholy
10y ago
I agree, the javascript ecosystem needs more fragmentation.
349.
▲
by
icholy
10y ago
> I do TypeScript every day for work, and honestly I don't see the point of it. really? I'm assuming you never refactor anything.
350.
▲
by
icholy
10y ago
go get github.com/pforemski/dingo
351.
▲
by
icholy
10y ago
The repo name is qualified by the github username. It could be argued that the username is part of the project name.
352.
▲
by
icholy
10y ago
That interface{} parameter makes me cringe, but it makes sense.
353.
▲
by
icholy
10y ago
Why is this the case?
354.
▲
by
icholy
10y ago
you're a terrible person
355.
▲
Lily: A programming language focusing on expressiveness and safety
(jesserayadkins.github.io)
2 points
by
icholy
10y ago
|
0 comments
356.
▲
by
icholy
10y ago
Eh, maybe it's gotten better since the last time I used it, but I found it to be pretty unreliable.
357.
▲
by
icholy
10y ago
ofc, I was strictly speaking about the GC algorithm.
358.
▲
by
icholy
10y ago
Not sure if it's better, it just has less work to do. Java creates a lot more garbage.
359.
▲
by
icholy
10y ago
I'm guessing because the transactions are essentially goroutines which the JVM doesn't have.
360.
▲
by
icholy
10y ago
It doesn't add structure, it just makes the existing structure obvious/explicit.
More ›