Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
magnushiie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
magnushiie
1y ago
Skype was written without exception handling and RTTI, although using a lot of C++ features. You can write good C++ code without these dependencies. You don't use STL but with cautious use of hand-built classes you go far. Today I woul
2.
▲
by
magnushiie
5y ago
kpt live apply prunes resources
3.
▲
by
magnushiie
6y ago
Generated columns are not necessary for indexing in Postgres, you can create an index on any expression based on the record (supported by many versions now).
4.
▲
by
magnushiie
8y ago
If you are really after performance writing parsers in .NET while keeping the code structure manageable you should look into the new Span<T> type.
5.
▲
by
magnushiie
9y ago
I was not saying cancellations are not useful, I was saying cancellations are better handled explicitly via cancellation tokens (which compose perfectly, unlike computation based cancellation).
6.
▲
by
magnushiie
9y ago
I think the author wants promises to represent computation, whereas they represent predetermined (i.e. single-shot) events. He mentioned C# Tasks, which do mainly represent computation, but in some cases Tasks are also used as events and th
7.
▲
by
magnushiie
9y ago
While I kind of agree with the rule of 3, in the example given, I would just rename BaseScraper to ScraperWithFormLogin when encountering the 3rd instance and not derive the 3rd from anything (or create an abstract BaseScraper) - there'
8.
▲
by
magnushiie
10y ago
Although I very much like C# where generics are not elided, I think most of the value comes from the productivity from static analysis, and therefore Java generics cature most of the value. Perf improvement opportunities are great though.
9.
▲
by
magnushiie
10y ago
Except the 99% (though in my experience more like 80% of the cases where generics would be considered in other languages) of the time you are refraining yourseld from using interface{} and perhaps choosing another bad solution (lesser of th
10.
▲
by
magnushiie
11y ago
Like Estonian e-Residency: https://e-estonia.com/e-residents/about/