Live data from Hacker News

Ask HN: Go-to web stack today?

news.ycombinator.com

391–400 of 453 posts

Re: Ask HN: Go-to web stack today?

#391

Earlier quoted context omitted.

Elixir/Erlang is concurrent, not parallel though.

To best of my knowledge, Erlang was not built for parallelism, but concurrency. When the language was created, multicore CPU where not yet available. The following article can explain better the point. http://jlouisramblings.blogspot.com/2011/07/erlangs-parallel...

This is pretty old. They have per-core actors and GC for a long time now.

Re: Ask HN: Go-to web stack today?

#392

Earlier quoted context omitted.

Would recommend Vue as a front end framework. It’s much simpler than the others, and every web dev I spoke to in 2018 recommended learning it. Backend, Flask for smaller stuff, moving up to Django or maybe Go for bigger stuff. Database Postgres. YMMV depending on what you’re doing, but the above is a good bet if you want to make the project accessible to other programmers, and it doesn’t need to quickly scale.

Have you seen React Hooks? I do not believe Vue is better than that.

I can use pug with Vue, it's make my code more beautify. This is why I moved form Vue -> React -> Vue.

Re: Ask HN: Go-to web stack today?

#393

Earlier quoted context omitted.

Can you point to any writeups on this? Would love to reduce the boilerplate a bit, while still needing a global state management tool for a smaller app.

Hi, I'm a Redux maintainer. Here's a few resources. First, the docs already have a page called "Reducing Boilerplate", which shows patterns like writing a function that accepts a lookup table of reducers [0]. Second, a while back I wrote a pair of posts called "The Tao of Redux" [1] [2]. Part 1 discusses the implementation and intent behind how Redux is meant to be used, and Part 2 looks at why common usage practices…

This is great, thanks so much

Re: Ask HN: Go-to web stack today?

#394

Earlier quoted context omitted.

Can you point to any writeups on this? Would love to reduce the boilerplate a bit, while still needing a global state management tool for a smaller app.

Hi, if you mean how to get rid of switch statements, you can check my comment bellow - about "action-reducer". I've seen https://github.com/erikras/ducks-modular-redux and it's close to what I do. Also you can check - https://github.com/reduxjs/redux/issues/1167#issuecomment-38...

Thanks so much, I love the pattern in the second link you shared

Re: Ask HN: Go-to web stack today?

#396

Earlier quoted context omitted.

Although I think it's not a big issue, I'd look into Vue instead of React. Imo it's simpler and give you a more complete solution out of the box (routing, reactive data layer). Now, I've barely tested Django, but I would not go the python way unless you have a good (other) reason. Rails seems to have a much more developed web development community. Node might be a great choice due to you being able to use the same la…

> Now, I've barely tested Django, but I would not go the python way unless you have a good (other) reason. Rails seems to have a much more developed web development community. Having used both Django and Rails extensively recently, I disagree. Maybe 5 years ago, yes. For two examples I ran into yesterday, check out https://github.com/rails/rails/issues/32790 and https://github.com/rails/rails/issues/31419 which featu…

Also (IMO) python is a nice compromise between Ruby and JS and C/Java style. It's dynamically types but has classes out of the box, and it has Ruby "magic" methods but as double unders so you can actually tell that they are magic from the source.

Re: Ask HN: Go-to web stack today?

#397
post #356

Earlier quoted context omitted.

I thought jwt was pretty okay solution for authentication and authorization. any particular reason that you dont recommend?

Interesting ask recently regarding it. https://news.ycombinator.com/item?id=18767767

And even more recently: https://news.ycombinator.com/item?id=18804875

Re: Ask HN: Go-to web stack today?

#398
post #157
post #133

Earlier quoted context omitted.

At this point this would prolly be my advice as well. From React/TS, to Kotlin, to PG, to the JOOQ shout out. I hoped a strongly(ish) language that spans from BE to FE, like ReasonML, would be ready by now, but it isn't. Kotlin to JS is not there I'm afraid: https://kotlinlang.org/docs/tutorials/javascript/kotlin-to-j...

What's not there about Kotlin/JS for you, out of curiosity?

Interop with other JS libraries for example - Vue in our case. We switched to Typescript mid-project and never looked back. Server is still Kotlin and we just export the data transfer classes as Typescript definitions (using a library we found on GitHub that works well enough).

Re: Ask HN: Go-to web stack today?

#399
post #86

Frontend: (vanilla) React with TypeScript. - TypeScript is more important than React, static typing is such a productivity boost, even for projects of all sizes. - Start with vanilla React and create-react-app, monitor for painpoints and look for solutions for these pain points in the community, don't look at the whole ecosystem before you start building stuff. Backend: Kotlin on the JVM. Kotlin is a really nice lang…

I .. cannot upvote this enough :) We're using an almost identical stack (Vue instead of React, but that's about it) and we love it!

Going back to old projects using various ORM products makes me cringe nowadays, JOOQ + Postgres are such a powerful combo!

Re: Ask HN: Go-to web stack today?

#400
post #86

Frontend: (vanilla) React with TypeScript. - TypeScript is more important than React, static typing is such a productivity boost, even for projects of all sizes. - Start with vanilla React and create-react-app, monitor for painpoints and look for solutions for these pain points in the community, don't look at the whole ecosystem before you start building stuff. Backend: Kotlin on the JVM. Kotlin is a really nice lang…

Curious to know if you tried React with Flow before choosing to go with React and Typescript.
Post reply on HN