Live data from Hacker News

Ask HN: Which tech stack is the most fun?

news.ycombinator.com

121–130 of 187 posts

Re: Ask HN: Which tech stack is the most fun?

#123
post #24

Rails. Nothing really beats it for the combination of * Getting something up and running quickly. Something that does what you want. * Iterating quickly on the thing you're building. Need a library (gem)? There's very likely a pretty good one. * Building the thing in a fairly clean way (tests, code organization) in a way that's not too bureaucratic and tedious. * Friendly community of people. I've done some playing a…

I’m at least a bit amused that you have a whole comment about how nice rails is without mentioning ruby ;-)

I believe this is why ruby decreased in popularity. Rails preceded its reputation. A similar thing almost happened with Django and Python. I've heard of a few people who call themselves django developers.

Re: Ask HN: Which tech stack is the most fun?

#124

In my opinion, it's Clojure(script). I simply just don't have as much fun with other languages anymore. Clojure let me write some of the most elegant code I have ever written, and knowing certain nooks and crannies of Clojure lets me pull off some...interesting stuff.

Could you say more about what/how you're using them? Like, frameworks, libs, practices (testing), editor, repls, etc.

I came to the comments to make a similar assertion of Clojure(script) being fun. Usually I work in IntelliJ with Cursive. VSCode with calva isn't bad.

The stack for my project is:

Backend:

Redis (no relational DB needed for my use case)

Clojure:

Carmine - (redis interop)

Reitit - Nice API definition and routing

Malli - Nice schema validation and coercion

Timbre - Logging without known RCE vulnerability ;)

Frontend:

Clojurescript

Figwheel - CLJS compiling and hot-reloading in browser. Would probably use ShadowCLJS these days though.

Rum - It's a simple wrapper around react, with Hiccup-style list syntax for HTML. Though in a do-over I'd probably try Reagent since it seems to have a bigger ecosystem of wrapped react libraries, but I really like Rum best. That said, it's also not that hard to use native JS React components with Rum.

All of the libraries and idioms in this stack guide the design to push side effects out to the edges of the program - this makes testing easier in a lot of cases. E.g., for a web request you can craft a test request, or pretty-print a literal request object and paste it into your code, then pass it to your API in Reitit without an http-server attached, and get back the result object, and assert that it matches the desired output. Clojure's mutability make it pretty simple to stub or mock calls to storage, or to create a fixture to use a test database.

Re: Ask HN: Which tech stack is the most fun?

#125
post #119

Earlier quoted context omitted.

+1 phoenix/elixir is such a joy to use. A big emphasis on developer happiness, extremely powerful (with a broader set of strengths than Rails imo), and the actor model is much easier for me to reason/think about because it cleanly separates logic and is designed to fail and recover cleanly.

> broader set of strengths than Rails imo What are those, in your experience? The BEAM platform is certainly better for concurrent work where you might be holding open something like a web socket. But other stuff...? I'm a pretty happy Erlang programmer and feel like I 'get' the functional programming aspect of things, but to me ActiveRecord just feels like such a great fit for DB work in that it makes the simple thi…

Having worked with both ActiveRecord and Ecto, Ecto is consistently easier to reason about and change than AR. It feels closer to the DB without compromising composability, and better avoids surprises. Ecto is IMO one of the killer features of the Elixir ecosystem that is undercelebrated compared to the neat things that are rarely used.

Re: Ask HN: Which tech stack is the most fun?

#126

As others have mentioned, this is highly personal. My own favorite stack is Elixir and/or full-stack Clojure.

Can you give some details about what you use with Clojure? I was looking at Fulcro.

Not OP, but we're currently using Pedestal to serve Lacinia (graphql).

Previously I've used compojure and all that.

I've only done the data/backend stuff, so I've personally never seriously used cljs, and my companies would use a regular reactjs frontend.

But Clojure is definitely a joy and if I had to make a frontend I'd probably reach for something like reagent.

Re: Ask HN: Which tech stack is the most fun?

#127
post #54

Go. Lower your pitchforks and hear me out: 1. Sensible defaults, can go very with just the stdlib: no choice paralysis between frameworks, mental overhead of setting up a project or ecosystem fragments to pick from. Just start with a main.go with net/http, add things along as you need them. 2. No ecosystem churn, whatever you write now will be idiomatic Go and build without issues for years to come. 3. Enough of a ty…

5. It ships with wide array developer tooling out of the box. You will not need to install an assortment of third-party programs to manage dependencies, refactor your code, view the docs, run tests, format, lint, run static analysis, check for race conditions, profile and trace, benchmark, etc...

Re: Ask HN: Which tech stack is the most fun?

#128
post #61

Take Rails 7 with Turbo. Start with the Jumpstart Pro template. You’ll feel like a god. https://jumpstartrails.com/ Finally, all of the boilerplate and over-engineered components are gone. You’re finally free to solve the just business problems. And you’ll be fighting integration issues a whole lot less. I have no idea why any saas based startup, whether it’s one person or VC backed, would start with anything less. T…

From: https://jumpstartrails.com/pricing > Pricing Plans > Simple, straightforward pricing to get your online business up and running > Rails Single Site - Build one application with Jumpstart Pro - $249 /year > Rails Unlimited - Build unlimited apps with Jumpstart Pro - $749 /year Might be useful to be aware of the commercial nature of the project, not that it's a bad thing in of itself, just not accessible to every…

With any software, if it's inaccessible because of pricing and your circumstances, definitely reach out to the authors and explain your situation.

You will only get in life what you ask for.

They may say no, but you owe it to yourself to try.

Re: Ask HN: Which tech stack is the most fun?

#129

pleasure == productivity ruby on rails is still awesome. But since you might have to work with react anyways...nextjs is a second. On the mobile side - Flutter is unparalleled. No seriously - im a react guy. And Dart is weird. But Flutter is seriously the Ruby on Rails of the mobile world.

I absolutely agree! Rails, Nextjs and Flutter are the best and most funny technologies I've ever worked with

Re: Ask HN: Which tech stack is the most fun?

#130
post #117

Earlier quoted context omitted.

I’m at least a bit amused that you have a whole comment about how nice rails is without mentioning ruby ;-)

To me it's just sort of a given that Ruby is pleasant to work with. Otherwise Rails wouldn't be. If Rails itself were unpleasant, though, merely being in Ruby wouldn't be enough to make up for that.

I actually meant it affectionately. I always enjoyed using Ruby and wish it had a larger footprint outside of Rails.
Post reply on HN