Live data from Hacker News

Create React apps using Kotlin

github.com

11–20 of 68 posts

Re: Create React apps using Kotlin

#11
post #8

Why use this over TypeScript?

Primarily because Kotlin is not a superset of javascript and thus does not inherit the quirks of javascript.

Other than that, if your backend is kotlin then you can potentially share (non JVM dependent) business logic code with the backed. Same goes for android clients. Same interfaces can be be used in client and server.

Re: Create React apps using Kotlin

#12
post #7

Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.

Well, I did comment once on the Koltin Jetbrains forum, about how hard they make to download ... just kotlin ... outside of the jetbrains ide

and their response, on their forum, was that they are intentionally make hard to avoid the jetbrains ide while using kotlin

now technically you still can, kotlin is open source, and you can download it standalone, if you search hard enough

i am not really sure, how jetbrains think kotlin will help it long term to increase its sales .. but this seems to be one of their objectives .. they did not create kotlin just for the sake of it (and nothing wrong with that)

Re: Create React apps using Kotlin

#13
post #12
post #7

Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.

Well, I did comment once on the Koltin Jetbrains forum, about how hard they make to download ... just kotlin ... outside of the jetbrains ide and their response, on their forum, was that they are intentionally make hard to avoid the jetbrains ide while using kotlin now technically you still can, kotlin is open source, and you can download it standalone, if you search hard enough i am not really sure, how jetbrains th…

I am happy JetBrains became a full-blown real software company (where I count only companies with their own programming language) instead of aping Atlassian (their main competitor), and Kotlin has some interesting ideas. They are closest to Borland we have these days; independent small company with quality development tools. Though the code completion quality dropped so much lately (e.g. in PyCharm it became completely useless) that I am now actively trying to find replacements.

Re: Create React apps using Kotlin

#14

Earlier quoted context omitted.

Wow. I had no idea. That’s great to know. Thanks for relaying that info. Do you have any further resources you recommend with regards to this?

Here's a whole stack app built by JetBrains themselves in Kotlin with React for front end https://github.com/Kotlin/kotlin-fullstack-sample

Nice! Thanks.

Re: Create React apps using Kotlin

#15
post #13
post #12

Earlier quoted context omitted.

Well, I did comment once on the Koltin Jetbrains forum, about how hard they make to download ... just kotlin ... outside of the jetbrains ide and their response, on their forum, was that they are intentionally make hard to avoid the jetbrains ide while using kotlin now technically you still can, kotlin is open source, and you can download it standalone, if you search hard enough i am not really sure, how jetbrains th…

I am happy JetBrains became a full-blown real software company (where I count only companies with their own programming language) instead of aping Atlassian (their main competitor), and Kotlin has some interesting ideas. They are closest to Borland we have these days; independent small company with quality development tools. Though the code completion quality dropped so much lately (e.g. in PyCharm it became complete…

I wouldnt go as far as comparing them to borland

Remember that the community edition is open source

They are an open company and do offer a lot completly for free

Borland was .. a very traditional closed company

Re: Create React apps using Kotlin

#16
post #7

Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.

> React is becoming a de-facto standard

The Vue.JS community would beg to differ.

But yeah, if JetBrains could implement something like the Rust Language Server for Kotlin I would be so happy.

Re: Create React apps using Kotlin

#17
post #7

Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.

> React is becoming a de-facto standard The Vue.JS community would beg to differ. But yeah, if JetBrains could implement something like the Rust Language Server for Kotlin I would be so happy.

lolvuejs

Re: Create React apps using Kotlin

#18
post #12
post #7

Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.

Well, I did comment once on the Koltin Jetbrains forum, about how hard they make to download ... just kotlin ... outside of the jetbrains ide and their response, on their forum, was that they are intentionally make hard to avoid the jetbrains ide while using kotlin now technically you still can, kotlin is open source, and you can download it standalone, if you search hard enough i am not really sure, how jetbrains th…

> and their response, on their forum, was that they are intentionally make hard to avoid the jetbrains ide while using kotlin

do you have a link for this?

Re: Create React apps using Kotlin

#19
post #11
post #8

Why use this over TypeScript?

Primarily because Kotlin is not a superset of javascript and thus does not inherit the quirks of javascript. Other than that, if your backend is kotlin then you can potentially share (non JVM dependent) business logic code with the backed. Same goes for android clients. Same interfaces can be be used in client and server.

I've never really found a good use case for reusing business logic, but just reusing types is pretty helpful. Although you can also get that via something like Swagger as well.

Re: Create React apps using Kotlin

#20
Does this mean that Kotlin -> React -> React Native is feasible too? It's a bit ridiculous on its face, but is there a better way to run Kotlin on iOS? Kotlin is a godsend for Android but if you have to support both platforms one codebase is better
Post reply on HN