tatumizer-v0.2
2015-12-16 18:10:03 UTC
Another day - another new language. Somebody brainwashed me into learning
Kotlin, so I spent a better part of the afternoon browsing the tutorial.
At first, noticed nothing unusual: after Swift, Kotlin looks like a bit
simplified clone (though it's not clear who cloned whom). Noted some
ugliness of array and map literals - not sure why they chose to replace the
natural notation [1,2,3] with intArrayOf(1,2,3), and for Maps, things get
really bizarre, but fine, we saw stranger things around.
Anyway, it has functions, and integrates with java smoothly, and that's all
I need to know. I was already about to leave to pursue other interests, but
at the last moment stumbled upon a section with nondescript title
"type-safe builders" (everybody these days boast having such builders, so
it didn't sound as such a big deal) - and there, I was in for a big
surprise! You can read the rest here:
https://kotlinlang.org/docs/reference/type-safe-builders.html
Again, not sure if it's Kotlin's patent, or they copied it from somewhere.
But the idea is a good one indeed.
Kotlin, so I spent a better part of the afternoon browsing the tutorial.
At first, noticed nothing unusual: after Swift, Kotlin looks like a bit
simplified clone (though it's not clear who cloned whom). Noted some
ugliness of array and map literals - not sure why they chose to replace the
natural notation [1,2,3] with intArrayOf(1,2,3), and for Maps, things get
really bizarre, but fine, we saw stranger things around.
Anyway, it has functions, and integrates with java smoothly, and that's all
I need to know. I was already about to leave to pursue other interests, but
at the last moment stumbled upon a section with nondescript title
"type-safe builders" (everybody these days boast having such builders, so
it didn't sound as such a big deal) - and there, I was in for a big
surprise! You can read the rest here:
https://kotlinlang.org/docs/reference/type-safe-builders.html
Again, not sure if it's Kotlin's patent, or they copied it from somewhere.
But the idea is a good one indeed.
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.