Ask HN: Using Kotlin for web application back end
Hi HN, The quick version of my question is: What are the pros and cons of creating a web application in Kotlin and if you had your choice of languages would you use Kotlin for that purpose? The long version: I just started a side project which will be your average web application. Users, authenticaiton, authorization, CRUD actions, your usual things. One of my goals is to learn a new language. I've used statically typed languages for the backend for the majority of my dev career (C#, C++, just a little F#). I tried out Python and while I really like it for small projects, parsing data files, and practicing data structures and algorithms I really miss being able to lean on static typing when refactoring. I also miss the strong IDE integration I get with that category of languages. I checked out mypy with Python and it's really cool but unless I configured it wrong it doesn't apply its type checking across files well. All of this led to me to look at Java and then Kotlin. I love how you only need to type one side of your declarations like I'm using C#'s var. The idea of data classes is fantastic as well. Because Kotlin is on the JVM and can interop with Java I'm hoping I can leverage those libraries and frameworks when needed. For some commentary on the tools, IntelliJ is a great IDE and I'm not sure how I feel about gradle yet. With all that said, have any of you used Kotlin to build a webapp? What did you like about it, what didn't you like? What other statically typed language would you use? 5 comments on Hacker News.
Hi HN, The quick version of my question is: What are the pros and cons of creating a web application in Kotlin and if you had your choice of languages would you use Kotlin for that purpose? The long version: I just started a side project which will be your average web application. Users, authenticaiton, authorization, CRUD actions, your usual things. One of my goals is to learn a new language. I've used statically typed languages for the backend for the majority of my dev career (C#, C++, just a little F#). I tried out Python and while I really like it for small projects, parsing data files, and practicing data structures and algorithms I really miss being able to lean on static typing when refactoring. I also miss the strong IDE integration I get with that category of languages. I checked out mypy with Python and it's really cool but unless I configured it wrong it doesn't apply its type checking across files well. All of this led to me to look at Java and then Kotlin. I love how you only need to type one side of your declarations like I'm using C#'s var. The idea of data classes is fantastic as well. Because Kotlin is on the JVM and can interop with Java I'm hoping I can leverage those libraries and frameworks when needed. For some commentary on the tools, IntelliJ is a great IDE and I'm not sure how I feel about gradle yet. With all that said, have any of you used Kotlin to build a webapp? What did you like about it, what didn't you like? What other statically typed language would you use?
Hi HN, The quick version of my question is: What are the pros and cons of creating a web application in Kotlin and if you had your choice of languages would you use Kotlin for that purpose? The long version: I just started a side project which will be your average web application. Users, authenticaiton, authorization, CRUD actions, your usual things. One of my goals is to learn a new language. I've used statically typed languages for the backend for the majority of my dev career (C#, C++, just a little F#). I tried out Python and while I really like it for small projects, parsing data files, and practicing data structures and algorithms I really miss being able to lean on static typing when refactoring. I also miss the strong IDE integration I get with that category of languages. I checked out mypy with Python and it's really cool but unless I configured it wrong it doesn't apply its type checking across files well. All of this led to me to look at Java and then Kotlin. I love how you only need to type one side of your declarations like I'm using C#'s var. The idea of data classes is fantastic as well. Because Kotlin is on the JVM and can interop with Java I'm hoping I can leverage those libraries and frameworks when needed. For some commentary on the tools, IntelliJ is a great IDE and I'm not sure how I feel about gradle yet. With all that said, have any of you used Kotlin to build a webapp? What did you like about it, what didn't you like? What other statically typed language would you use? 5 comments on Hacker News.
Hi HN, The quick version of my question is: What are the pros and cons of creating a web application in Kotlin and if you had your choice of languages would you use Kotlin for that purpose? The long version: I just started a side project which will be your average web application. Users, authenticaiton, authorization, CRUD actions, your usual things. One of my goals is to learn a new language. I've used statically typed languages for the backend for the majority of my dev career (C#, C++, just a little F#). I tried out Python and while I really like it for small projects, parsing data files, and practicing data structures and algorithms I really miss being able to lean on static typing when refactoring. I also miss the strong IDE integration I get with that category of languages. I checked out mypy with Python and it's really cool but unless I configured it wrong it doesn't apply its type checking across files well. All of this led to me to look at Java and then Kotlin. I love how you only need to type one side of your declarations like I'm using C#'s var. The idea of data classes is fantastic as well. Because Kotlin is on the JVM and can interop with Java I'm hoping I can leverage those libraries and frameworks when needed. For some commentary on the tools, IntelliJ is a great IDE and I'm not sure how I feel about gradle yet. With all that said, have any of you used Kotlin to build a webapp? What did you like about it, what didn't you like? What other statically typed language would you use?
Hacker News story: Ask HN: Using Kotlin for web application back end
Reviewed by Tha Kur
on
March 04, 2018
Rating:
No comments: