jckarter / clay

The Clay programming language
http://claylabs.com/clay
Other
404 stars 34 forks source link

hide platform-specific members #455

Closed stepancheg closed 11 years ago

stepancheg commented 11 years ago

I think that platform-specific members of module should be either hidden (as done in this patch) or renamed to something like WINDOWS_PATH_SEPARATOR1 and UNIX_PATH_SEPARATOR and made available on all platforms.

jckarter commented 11 years ago

I agree completely—if a module deals with platform-specific details, it should try to hide them completely. The current API divergence in io.paths is gross and should be eliminated.