Go is a nice, simple language that looks very familiar at first glance if you’ve used other programming languages before.

But it has a bit of a learning curve, since it does introduce a few novel concepts.

So I’m writing a few articles which would have saved me some time sifting through documentation and going through several rounds of trial-and-error on the Go playground.

In this first article, I’ll be talking about the basics, which are surprisingly subtle in some cases: variables. You’ll probably learn a thing or two even if you’ve already been using Go for a few weeks.

When to use var

How Next.js evolved, and why it’s one of the best React frameworks on the market

Recently, there has been a lot of hype around Next.js — a Web framework based on React. But is the hype warranted? What improvements does Next.js provide over the existing tools, like the feature-rich, developer-friendly create-react-app? or the simple, tried-and-true, static site generation tool — Jekyll?

Is Next.js just going to add more bloat to your app? Is it really the future of frontend development, or is it just a fad? What problems is it really solving?

In this article, I’ll try to answer all of these questions and more.

In this article, I don’t draw a direct comparison between…

I’d like to show you a short and sweet piece of code, and I want you to take note of whether you have any thoughts or feelings on what the code looks like.

Ready? Here it is:

So, what were your reactions?

Overall, this is perfectly valid Java code — but did it seem properly formatted to you? Did the spacing and indentation seem off, or was it just right? Were you irked by String args[] instead of String[] args? Were you bugged by the { being on its own line?

If any of those things floated through your…

In my last article, Developers want scripts and tools — not “how-to” guides, I wrote about the importance of providing runnable script files in your software-related technical writing, instead of just listing out a series of commands that the reader has to copy and paste in order to accomplish a task.

In this article, I’ll walk you through some tips that have been indispensable to me while writing Bash and Python scripts, and distributing those scripts to other engineers.

Note: this guide is targeted towards Linux users. …

Does this scenario sound familiar to you?

You want to do X on the command line. You Google search for an article on “how to do X.”

The first result: “How to do X” from developers.x.com, last updated this year.

Perfect! The official docs, and they’re even up to date! Of course, you click on it.

You read through the article, and you copy and paste the commands into your terminal. Before each command, there’s a detailed explanation of what each command is supposed to do, so you feel confident that this article is not going to leave you with a bricked computer.

“Great!” you think to…

Brandon Duffany

Working towards epic levels of developer productivity at buildbuddy.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store