![]() ![]() String interpolation: println("size is $ out of $ma圎lements").Extension functions (like C# has), so you can extend with static methods and create e.g.Cleaner syntax than Java (semi-colons are optional new keyword isn’t there, because it’s unnecessary).Lambdas that work well (closures, which Java doesn’t really have).Null-safe types (more compile-time errors instead of always runtime ones).It might be possible to utilize TeaVM as a replacement for GWT, though. This could be fixed in the future by using Kotlin’s JavaScript back-end. If you’re a C# user or appreciate its features, you will feel more at home as Kotlin has many features C# has.ĭue to how GWT works, you will not be able to use the HTML5 target with Kotlin. The tool currently works with AsciiDoc which is a great markup language for writing technical documentation, but adding Markdown support is on the list.Kotlin is a modern statically typed JVM language from JetBrains, the creators of IntelliJ IDEA (Kotlin supports Eclipse too). The idea behind it is quite simple - make sure that the source code used in the book compiled correctly, optionally verifying the output produced. It was originally written by Dmitry for the Kotlin in Action book. ![]() Mark-code is a project I recently pushed to GitHub. The code during a code review or copy/pasting it to get it to compile isn’t an option, especially when the code is annotated While GitHub makes it easy to collaborate with documentation using GitHub Pages, the main issue is that every new submission must have correct Kotlin code in it. When I ran the idea of setting up the site by some community members, a few them wanted to actually contribute with content, so my main goal was to make this as While currently there are only a few samples (and I’m planning on adding more), most of the effort has gone into setting up an infrastrucutre that makes it easyįor collaboration. The idea came from Go By Example which I’d used somewhat in the past. Over the weekend, I’ve thrown together a new site, Kotlin by Example, which is dedicated to teaching Kotlin using shortĪnnotated examples. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |