1825 in birding and ornithology

Events

Expeditions

Ongoing events


gollark: Imagine you got a list containing both ATypes and BTypes and want to display a list of them or something. The logic for each is somewhat different because they represent slightly different entities.
gollark: You could just have a "thing type" field in them but then you're just doing tagged unions in an indirect way.
gollark: If you want, say, a list of AType values and BType ones, TS has *un*tagged union types for that, but you then have to do stupid stuff to discriminate between them.
gollark: Oh, it's nice for abstract syntax trees too, not that that comes up in frontend development much.
gollark: That doesn't sound very nicely typeable.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.