Skip to content

Comment on Ask HN: Using Kotlin for web application back end

Comments

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.

PyCharm has excellent integration with the language. It can give you expected return types and check types of parameters if you sue type hints or if you give functions and methods doc strings. I've used Java along with IntelliJ and I would say the difference is pretty minimal. There is a metric ton more boiler plate to write in Java so it's more needed. If you write Python like you write Java you're going to have a bad time no matter what.

I would suggest Go. You get static typing,less verbosity, and a much easier to use concurrency model. Depends on what you are making though. ORM's are not really all that popular in the Go community so if you'll be needing one you may want to look for something else. That being said, writing SQL isn't the end of the world and there are a lot of upsides to using it.

It's possible I'm not writing Python in the best way, I've tried to embrace duck typing and trusting my call sources & targets.

What I missed is the easy assurance from adding parameters to method calls, changing function/method/class names.

I learned a lot about dynamic languages from a cool book - 99 Bottles of OOP

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.