top | item 45846190

(no title)

hardwaregeek | 3 months ago

I like OCaml and have written the "why we chose XYZ language" posts. Most of the time the real answer is "we like it and it makes us feel good to use it". Like the answers aren't wrong per se but they're more post-facto justifications. And that's perfectly fine! I think we should normalize saying that tech stack choices are subjective and preference-based. We're not robots. The social and aesthetic parts of a stack matter to people

discuss

order

lawnchair|3 months ago

Definitely agree. Most teams don't choose a language for purely rational reasons, and we're not pretending we did.

We like OCaml, it makes us excited to build. We know the language deeply, which means we can reason about performance and behavior before we run the code. We can onboard new engineers quickly because the type system forces clarity.

The runtime is simple enough that we can predict what it's doing. So yes, part of it is that OCaml feels good to use. But that feeling comes from years of watching it make complex systems simpler to reason about, not harder.

svara|3 months ago

One of the great understated reasons for using 'cool' programming languages is that it allows a business to hire selectively for people for whom programming is a passion.

BenGosub|3 months ago

I think that in some cases where OCaml was chosen, like Docker or some parsers, the choice was obviously not evangelical. But I agree that in most cases it is a post-facto justification.

yahoozoo|3 months ago

Docker?

criddell|3 months ago

The first comments here are people reading this as if the authors are saying only OCaml can do this. They aren't.

sausagefeet|3 months ago

Exactly! OCaml is the language I like to solve problems in, and I'm excited to solve problems in, so that's why Terrateam uses OCaml (I'm the CTO). You can do a lot (but not all) of this in Go, or TypeScript, but I don't get excited about those languages. Certainly I'll use them if I have to (our UI is written in Svelte) but building your own company is a grind, and using OCaml makes the grind just a bit more exciting, and that's an edge.

epolanski|3 months ago

> I think we should normalize saying that tech stack choices are subjective and preference-based.

True but I don't think this is the correct way to frame it, because it sounds unprofessional.

The correct, and understandable way is:

- the language has properties that fit the software

- the language has properties that fit the development process

- it boosts morale of development team

- the team has the required skillset

Then it's not only a preference, but a conscious engineering choice made of evaluating the different pros and cons of various alternatives.

lo_zamoyski|3 months ago

> I think we should normalize saying that tech stack choices are subjective and preference-based. We're not robots. The social and aesthetic parts of a stack matter to people

I would just like to distinguish "subjective and preference-based" from "social and aesthetic" and also clarify some notions.

1. The social is objective. We are social animals. It is essential to what it means to be human. We need social relations to grow and develop and to become more human.

2. The aesthetic is objective. We confuse taste with beauty, and this is perhaps the legacy of influence of certain philosophical traditions on our thinking. Beauty has to do with the fullness with which some thing instantiates a form and realizes some end/good. So, when it comes to artifacts like programming languages, a beautiful language will satisfy some human purpose more perfectly than a less beautiful language. Taste is a matter of subjective disposition to beauty. Someone with bad or poor taste might prefer the inferior over the superior, for example, or fail to discern between the two.

We sort of create mystery about preference here, as if they were just arbitrary, immutable, inexplicable brute facts. But preferences can be more good or less good or even bad. Note the relation between preference and taste.

> We're not robots.

3. Typically - and I do not accuse you of this - this is meant to mean that what makes us human compared to robots is that we have emotions. But it isn't that. Many animals have emotions. What makes us distinct as human beings is the intellectual and the rational, which robots (as computational instruments) are not.

4. Post hoc rationalizations may not stand behind the actual motivations, but the content of the rationalization may remain true and valid nonetheless.

ab5tract|3 months ago

I’m sorry but there is no way you can demonstrate a universal aesthetic. Your opinion of other people’s tastes does not reflect on their taste — it reflects on yours.

whobre|3 months ago

Using something you enjoy is fine, as long as you don’t forget the person who is going to maintain your code after you move on.

strongly-typed|3 months ago

Imagine inheriting a project that was a joy for someone to work on instead of a slog.

bsder|3 months ago

There are things that are objectively a "bad fit".

As long as you steer away from those, the "good" choices are mostly interchangeable--use what you prefer.