3 ms·
Like: - Concurrency. Can shoot yourself in the foot still, but it's overall pretty simple to get started and use. - Small language surface. Fairly easy to k
by Winsaucerer 4y ago
Like:
- Concurrency. Can shoot yourself in the foot still, but it's overall pretty simple to get started and use.
- Small language surface. Fairly easy to keep most or all of it in your head.
- Good ecosystem, and easy to pull in libraries.
- Good standard library that does a lot out of the box.
- Easy for new people to get started with it.
- Compiles to a single static binary.
Dislike:
- Cluttering of my code with boilerplate error returns (a common criticism!).
- Can't stop consumers of a library from doing the wrong thing. E.g., ensuring that someone always initialises an internal map of a new struct instances is challenging, with tradeoffs for each option.
- In line with previous, overall lacking the language tools to enforce correct usage or behaviour.
- Lots of footguns.