You are here |
blog.gopheracademy.com | ||
| | | |
brunoscheufler.com
|
|
| | | | While Go doesn't come with the typical language concepts for inheritance-based type hierarchies? it provides a powerful concept to reuse parts from other interfaces and structs, using embedding.... | |
| | | |
mfbmina.dev
|
|
| | | | Nowadays, a huge part of a developer's work consists in calling APIs, sometimes to integrate with a team within the company, sometimes to build an integration with a supplier. The other big role in daily work is to write tests. Tests ensure (or should guarantee :D) that all the code written by us works on how it is expected and, therefore, it will not happen any surprises when the feature is running at production environment. | |
| | | |
ukiahsmith.com
|
|
| | | | Often times we need to unmarshal upstream data with unique constraints. Such as custom data types, or custom parsing of specific formats. Using the standard library could be impractical, and handling long structs manually can be tedious; however there is an alternative. | |
| | | |
takeonrules.com
|
|
| | Last month I wrote Creating an Emacs Command to Rename Files per Denote File Naming Schema. Ive been using it in a one-off situation. And yesterday I wrote a wrapping function to call in dired. The source code for jf/dired-rename-files-to-denote-schema. (defun jf/dired-rename-files-to-denote-schema () "Rename marked files in `dired-mode'." (interactive) (when (seq-find (lambda (file) (member (file-name-nondirectory file) '("." ".."))) (dired-get-marked-files)) (user-error "Can't rename "." or ".." files"... |