Paul Di Gian
Paul Di Gian's Blog

Paul Di Gian's Blog

Follow
homebadgesnewsletter
Tag

#codenewbies

#codenewbies

More content

Read more stories on Hashnode


Articles with this tag

Advanced go - Make synchronous code asynchronous with context.Context and channels

Nov 7, 20213 min read

Go standard library comes with a nice little structure that allows to stop long-running goroutines, when theirs result is not needed anymore:...

Advanced go - Make synchronous code asynchronous with context.Context and channels

Advanced go - Choosing between a constructor and declaring the type

Nov 4, 20213 min read

In go there are two ways to create structures. Either you instantiate the structure directly, populate its fields. Or you use a constructor, that will...

Advanced go - Choosing between a constructor and declaring the type

Improve your code with Testing

Oct 17, 20218 min read

Intro Any developer of scientific software has found itself in the horrible situation of having a bug in the code and have no idea how to fix it. The...

Improve your code with Testing

The Single Responsibility Principle, the most pervasive idea in software engineering and simplest way to improve your code

Oct 10, 20213 min read

Intro The Single Responsibility Principle (SRP) is one of those simple ideas that enlight developers and scientists as well. When correctly following...

The Single Responsibility Principle, the most pervasive idea in software engineering and simplest way to improve your code

4 best practices to improve your code using functions

Oct 10, 20215 min read

Intro Working in a code base with well-written functions is a pleasurable experience. Everything seems to flow, it is easy to understand what is...

4 best practices  to improve your code using functions