3 ms·
I write go. As every programer does you sometimes need to write throw away code. The one off script, a quick tool to clean something up, a loop and a regex to
by zer00eyz 3y ago
I write go.
As every programer does you sometimes need to write throw away code. The one off script, a quick tool to clean something up, a loop and a regex to make it cleaner data, aggregating data from two systems into one handy file.
Go has this handy way of throwing away an error return. If I have to write something that is trash I skip over the errors. I can ignore missing files or json formatting issues. Granted that code would not pass muster of a code review, it would be apparent what I'm doing.
You can cut corners in go, it just reminds you that your doing it.