Paul Di Gian
Paul Di Gian's Blog

Paul Di Gian's Blog

Follow
homebadgesnewsletter
Tag

newbie

#newbie

More content

Read more stories on Hashnode


Articles with this tag

Advanced go - Use default value as your advantage, append to nil

Nov 3, 20211 min read

Today I found a small mistake in our codebase. The code was like this: type Foo struct { baz []int } // ... func (f *Foo) Fun(a int) { if...

Advanced go - Use default value as your advantage, append to nil

Speed up your code with micro-batching

Oct 30, 20213 min read

Usually when doing any IO, either over network or against disk, there are always at least two options. Execute each IO operation by itself. Execute...

Speed up your code with micro-batching

Split a slice or array in a defined number of chunks in golang - but any language really

Oct 30, 20213 min read

This is a story of an algorithm that is extremely useful, and it seems super simple to implement. Until you don't try to implement it yourself, and...

Split a slice or array in a defined number of chunks in golang - but any language really