Tags: code

The Peril in Counting Source Lines on an OSS Project

There seems to be a phase that OSS projects go through where as they mature and gain traction. As they do it becomes increasingly important for vendors to point to their contributions to credibly say they are the ‘xyz’ company. Heptio is one such vendor operating in the OSS space, and this isn’t...
Read 0 Comments

Secrets of Maintainable Codebases

You should write maintainable code. I assume people have told you this, at some point.  The admonishment is as obligatory as it is vague. So, I’m sure, when you heard this, you didn’t react effusively with, “oh, good idea — thanks!” If you take to the internet, you won’t need to venture far to find...
Read 0 Comments

‘You are Not Expected to Understand This’: An Explainer on Unix’s Most Notorious Code Comment

The phrase “You are Not Expected to Understand This” is probably the most famous comment in the history of Unix. And last month, at the Systems We Love conference in San Francisco, systems researcher Arun Thomas explained to an audience exactly what it was that they weren’t supposed to understand....
Read 0 Comments

Using Clang-Format to Ensure Clean, Consistent Code

Too often programmers underestimate the importance a consistent coding style can have on the success of a project. It makes the code base easier to read, reduces nonfunctional changes to fix inconsistent style, and outlines expectations for code submissions. Most large projects have a coding style...
Read 0 Comments

Untangling Macros in C

  As programmers, in our daily office/school life, we are expected to write code following best practice, to comment it wisely, so that when need is to re-read it, well someone can do it. To take a break from all those constraints, we can head to the IOCCC the International Obfuscated C Code...
Read 0 Comments

Git Behind the Curtain: What Happens When You Commit, Branch, and Merge

I think that the first thing to understand about Git is that it's not strictly a source control system; it's more like a versioned filesystem that happens to be good at source control. Traditionally, source control systems focused on the evolution of files. For example, RCS (and its successor CVS)...
Read 0 Comments

Code Review Essentials

Let's say, hypothetically, that you have just started working for a new company. Finally, a perfect job you have always dreamed about...or at least, that's what it seems to be before you've taken a first look at the code. That's when first crisis comes along. After you give it some deep thought,...
Read 0 Comments

Open Source, Third-Party Software Flaws Still Dog Developers

The new 2016 State of Software Security Report from Veracode shows the hazards of buggy libraries and applications. Application developers are getting burnt by security vulnerabilities in the very open source- and third-party frameworks and software components that make up their finished...
Read 0 Comments

50 Tips for Improving Your Software Development Game

How do you keep improving as a software engineer? Some pieces of advice are valid no matter your experience level, but often the advice will depend on where you are in your career. If you're a beginner, the best advice is to simply learn your language, frameworks, and tools top to bottom and gain...
Read 0 Comments

How to Manage Binary Blobs with Git

In the previous six articles in this series we learned how to manage version control on text files with Git. But what about binary files? Git has extensions for handling binary blobs such as multimedia files, so today we will learn how to manage binary assets with Git. One thing everyone seems to...
Read 0 Comments

Pages

Click Here!