The Culture of Code



Crearing an array in JavaScript

Since it may be references to existing javascript array from other objects, the best way to clear array contents is assign its length to zero

Semantic Versioning Specification (SemVer)

For every new project, one of the first questions to answer when planning release system is “How to define a product versions?”. Now I know the default answer for this question: “Just look at the Semantic Versioning Specification!. It looks very natural: X.Y.Z where X is major version, Y is minor version and Z is the patch (hotfix) version of the product. X,Y,Z are non-negative numbers. See full specification for details, it is not big, just 12 points.


Book: Good Old "Peopleware"

One more book worth reading - “Peopleware: Productive Projects and Teams” by Tom DeMarco and Timothy Lister. It’s essentially a Holy Bible for every manager!

Configuring Protobuf to Java compiler in maven

Here are few steps to configure protobuf-to-java compilation in your maven project:

Install google protobuf compiler on your computer.

Configure maven protobuf compiler plugin and dependency in pom.xml