Martin Tournoij
- Popular posts
- 15
- Total points
- 4,697
- HN comments
- 3,802
- Rank
- #247 personal
Visit arp242.net → On Hacker News Jun 2018 – Nov 2024
Software Engineering 12Tools & Productivity 5Web & Frontend 2Security & Privacy 2Programming Languages 2Design & UX 2
Go is not an easy language
Go is not an easy programming language. It is simple in many ways: the syntax is simple, most of the semantics are simple. But a language is more than just syntax; it’s about doing useful stuff . And doing useful stuff is not always easy in Go.
Against Best Practices
I have come to believe that by and large “best practices” are doing more harm than good. Not necessarily because they’re bad advice as such, but because they’re mostly pounded by either 1) various types of zealots, idiots, and assholes who abuse these kind of “best practices” as an argument from authority, or 2)…
s/bash/zsh/g
There is simply no way you can do calculations with fractions in bash without relying on bc , dc , or some hacks. Compared to simply being able to use a + b it’s ugly, slow, and difficult.
Scripting tmux
I often want to start similar workspaces in tmux; for example I always want to tail those two log files in a pane , or I always want to start both vim and mysql in a pane, etc.
The web as a GUI toolkit
The web is kinda weird because it was originally created as a typesetting system, rather than a GUI toolkit. While this definitely has its drawbacks 1 and isn’t suitable for everything , I personally rather like the “web as a GUI toolkit” exactly because of its typesetting roots; it provides some features that few…
Go’s Features of Last Resort
A “Feature of Last Resort” (FOLR) is a useful feature which solves certain otherwise hard-to-solve problems, but are often best avoided.
An API is a user interface
An API is a user interface for programmers, and is no different from a graphical user interface, command-line user interface, or any other interface a human is expected to work with. Turns out programmers are people – who would have thought?