Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is not a language issue.


I didn't say it was. I said generics would help one easily switch their choice on the different semantics, not avoid choosing at all.


Many, or most, languages already do that by representing filenames as native strings (which are usually abstract "Unicode" strings).


I want to swap the path type used by the FS implementation. This is totally distinct from a langauge providing some string type which while abstract is nevertheless fixed and unchangable.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: