Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 29 2017

Twitter thread - What's your favorite book introducing a programming language?

Super interesting answers.

June 13 2017

Reading "How will you measure your life?" by Clayton M. Christensen

The other day I’ve started to listen the “How will you measure your life?” audiobook by Clayton M. Christensen.

The 2nd chapter introduces Frederick Herzberg’s two-factor theory or motivation theory. I have found it very educational. As a leader, you might discover or realize these aspects—what the theory calls hygiene and motivation factors—by yourself over time. It’s reassuring though to learn there’s a theory and research behind.

I’m also planning to watch the homonymous TEDx talk:

May 29 2017

What's the right way to organize my Go project code?

I’ve only worked with Go code a couple of times (the Go wrapper of the DataStax C++ driver for Apache Cassandra is one of them). But my familiarity with the rules and practices in the Go land is very limited. So when I looked to start a toy project I have found myself asking again: what’s the right way to organize my Go project code?

I have found very little online. The first, is Ben Johnson’s Structuring Applications in Go:

I used to place my main.go file in the root of my project so that when someone runs “go get” then my application would be automagically installed. However, combining the main.go file and my application logic in the same package has two consequences:

  1. It makes my application unusable as a library.
  2. I can only have one application binary.

The best way I’ve found to fix this is to simply use a “cmd” directory in my project where each of its subdirectories is an application binary.

There are some additional hints in the article about Go project code org, and some

I had very high hopes that I’ll find the final answer in David Crawshaw’s slides Organizing Go code. The slides are really interesting, but unfortunately they don’t provide the answer I was looking for.

Finally, I’ve run into Dave Cheney’s Five suggestions for setting up a Go projec. This article provides suggestions for the following types of projects:

  1. a single package
  2. multiple packages
  3. a command
  4. a command and a package
  5. multiple commands and multiple packages

All I read in this post makes sense to me. So until I hear other recommendations, this will be what I’ll be using.

June 29 2017

Twitter thread - What's your favorite book introducing a programming language?

Super interesting answers.

June 13 2017

Reading "How will you measure your life?" by Clayton M. Christensen

The other day I’ve started to listen the “How will you measure your life?” audiobook by Clayton M. Christensen.

The 2nd chapter introduces Frederick Herzberg’s two-factor theory or motivation theory. I have found it very educational. As a leader, you might discover or realize these aspects—what the theory calls hygiene and motivation factors—by yourself over time. It’s reassuring though to learn there’s a theory and research behind.

I’m also planning to watch the homonymous TEDx talk:

June 29 2017

Twitter thread - What's your favorite book introducing a programming language?

Super interesting answers.

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl