Go interfaces apply automatically to any types that implement all the methods. This means you can define your interfaces near the code that uses them. They also provide an easy way of stubbing out code for use in unit tests. Here’s an example.
The default vim go language syntax file uses a tabstop of 8, which is a bit excessive.
My new camera is very nice, but the default file size is too large for my gallery.
The Python signal module let’s you setup Unix signals, including SIGALRM.
Copyright (c) 2024 Michel Hollands