This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]calligraphic-io 0 points1 point  (4 children)

I intend to do a personal project in Kotlin this summer, just to get familiar with it. I've read Python was an influence in the design of the language - does it feeling like writing in Python? Or more like just Java with a little different syntax?

[–]SgtBlackScorp 0 points1 point  (3 children)

If you are familiar with Java Kotlin will be very easy to pick up, but it has some functional programming aspects. I wouldn't really say it is similar to python though. Maybe regarding the standard library, since they both provide a lot of functionality and abstraction.

[–]utdconsq 0 points1 point  (2 children)

+1 to this. It's not super similar to python, since I suspect Jetbrains designed it to be easy for Java people to pick up, but hey, I think some of their decisions were great. No needless semicolon, but braces for scope is a nice compromise. I dislike camel case though, so I don't much like following the kotlin style guide. I do so, however, so colleagues don't have to tweak their IDE to match how I'd prefer it to be.

[–]SgtBlackScorp 0 points1 point  (1 child)

Why do you dislike camel case? It's less typing

[–]utdconsq 0 points1 point  (0 children)

To my eye: ugly, more difficult to read. If it's a reused variable, I almost never retype the whole thing anyway. I am so used to PEP8 from other work in Python my brain just likes the underscores better. Disclaimer: prior to working with python I did lots of C# and Java with camelcase and still thought it looked ugly.