At this stage there are no right or wrong ideas, I...
# multiplatform
o
At this stage there are no right or wrong ideas, I believe. They are all experimental, and what matter is which ideas work well, and which doesn’t. As an example, a big design question for a multiplatform FileSystem is how compatible with JVM (nio) it should be. Can you pass
Path
object as if it is
nio
instance (essentially, an actual typealias), or you have to do
toJavaPath
? Being compatible is nice, but it comes at a cost of non-idiomatic APIs, and then limiting what other platforms (JS, Native) can do.
j
Just don't make Path implement Iterable<Path> like Java did! So many bugs...
o
What kind of bugs?