Comment

Comment by SmellyPotato22

I disagree with claim that One letter generics are a bad habit. In my opinion, it is proper to use one letter generics but start with A then B, then C... so it enables to reason about generics positionally. Pseudo example of this:

`map<A,B>(fn:(el:A)=>B):B[]`

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton