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

What things would you like documented? We're working on providing more tutorials, docs and information. The API docs are being revamped. Old ones have info about DOM/HTML/Browser support:

http://jetbrains.github.io/kotlin/versions/snapshot/apidocs/...



If I want to write a web application and I go to the API reference, it's unclear where to start. It should say whether each library is browser-only, server-only, or works in both places. For example, is kotlin.dom a client or server API? How about kotlin.io? It says that kotlin.io writes to System.out which is a server-side concept, so I'd guess it's server-only?

It would also be nice to see examples of how to embed kotlin-based JavaScript in a web page, how to call JavaScript from kotlin, and how to expose a callback function to JavaScript.

A good way to help web developers get started might be to port the examples from the React front page to Kotlin.


Thanks. The API docs are being revamped as I mentioned and those things we hope to solve. We're also working on tutorials for JS. Right now you can see info on JS here:

http://hadihariri.com/2013/10/16/writing-kotlin-in-the-brows...

which discusses usage, interop and getting started.




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

Search: