Recent submissions

Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
This is incredible! I've wanted something like this in a notebook for a long time.
Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
agreed, I think everyone under the child comment of yours is talking about the verbosity coming from non-semantic stuff.
Comment · 4 years ago
Java idioms are one contributing factor. There's some inherent wordiness too - for example, Hello World in Java is wordier than in most other programming languages.
Comment · 4 years ago
This is a reductionist take on a complicated question. More environmental damage may mean fewer people in the future. Is more people now worth fewer people or a lower quality of life later?

Also, consider non-humans: how many additional people would make destroying the Great Barrier Reef worth it? If clearcutting the Amazon rainforest would increase the population cap by N, for what values of N would you do it?

H̶u̶m̶a̶n̶ life is beautiful and good.

Comment · 4 years ago
How can I extend this version to multiple loggers, like the article does? Do I need to write in my application code:

  writeStringToFileAndWrappedSocket(w: WrappedSocket, f:File, s:String) = writeStringToFile(f,s) and writeStringToWrappedSocket(w,s)
If this is written in the library, that is 2^n combinations of file output functions - even worse than the n*m the article complains about.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton