OSMeta icon indicating copy to clipboard operation
OSMeta copied to clipboard

Replacing native types by functional names?

Open DerKarlos opened this issue 2 years ago • 1 comments

We already started to use functional name-types (TileCoord, GeoPos, ...) to make our code more readable, even as a new contributor may be puzzled and has to look and learn the types.

What do you think about this?:

  • Replace most/all native vec by functional names
  • TODO

DerKarlos avatar Nov 28 '23 10:11 DerKarlos

I think it's gonna be case-by-case, but anything we return from a function should probably have a newtype, yea.

oli-obk avatar Nov 28 '23 12:11 oli-obk