development, working life, open source, Valgrind Check For Memory Leaks! Last week, I've lost at least three hours in understanding and fixing an overcomplicated implementation of a binary tree in the shape of an open source C library.
development, personal When Should I Create A Function (Or A Class)? This is a damn good question. As I've suggested in this post [https://while2.ghost.io/6_1_tips_to_write_easily_extensible_code/], functions should be short
development, Lua Coding Is Funny, Debugging Not So Much I have to admit it. I have some problems with dynamically typed languages. Even if I love Python, I'm always worried about using one of those languages in
development, working life, Linux Versions Madness Last week, Linus Torvalds, the creator of Linux, published this post [https://plus.google.com/102150693225130002912/posts/jmtzzLiiejc] on Google+. > So, I made noises some time ago about how
development, working life When You Must Write Unreadable Code Well, if you know me or read this blog since some time, you should know that I consider code readability even more important than correctness. This is because a bug-free
development, working life RTFMC If you don't know, the acronym RTFM means "Read The Friendly Manual". And this is exactly what I've done several months ago, when I&
development, working life, personal The 80-20 Rule: Pareto And The Devil Probably only the number of webpages with images of cats is greater than those talking about Pareto principle [http://en.wikipedia.org/wiki/Pareto_principle]. Nevertheless I want to add
development, C, tips Bitwise Right Shift With Signed Int It's never too late to learn something new. And sometimes the compiler is smarter than what you think. In this case, I've discovered this behavior a
development, humor Every Language Sucks It would be a mistake to consider this page [https://wiki.theory.org/YourLanguageSucks] only as an amusement of some funny developers. You may or may not agree with the
development, C, tests When Unit Tests Fail This week, my colleague +Giancarlo B. [https://plus.google.com/112637999859258390580] showed me this short function. char *unescape(char *in) { char *tmp; int i, x; char b[5]; tmp = calloc(
development, C, C++, style 0 Errors - 0 Warnings Are you one of those that don't care about warnings when compiling? Well, if you write Yoda conditions[1] like the following, probably you are: if (2 == foo)
development, C, C++, style C++ And goto Don't Match Together As you can see by reading this blog, I'm a fan of goto [https://while2.ghost.io/goto_is_your_friend] when used in an appropriate way. Unfortunately
project management, development, motivation All You Need To Know About Software Development While I was reading this (long) article [http://www.targetprocess.com/articles/speed-in-software-development.html], I've felt like all the different pieces of the puzzle in my head go
development, working life, personal Write and Rewrite (and Make it Better) I'm not comparing myself to Hemingway, but, when I write a new piece of software, for me it works the same. I usually write code in a quick-and-dirty
development, algorithms Speed Up Your Searches Usually, in Computer Science classes, sorting algorithms are studied in depth. The reason is quite simple: they are widely used and can be applied to several contexts. Moreover they represent
development, working life, blogs Ideas Are Not Enough Today, Seth Godin in his daily post [http://sethgodin.typepad.com/seths_blog/2014/07/if-you-cant-sell-it-you-cant-build-it.html] wrote about something that is essential for me: the importance of going from
Linux, tips, development [Linux] How to Define a Path for Shared Objects In Linux, the predefined paths for shared objects (.so) are /lib/ and /usr/lib/. During normal usage this is OK but sometimes it's necessary to specify other additional
development Elegance Doesn't Pay I didn't know exactly how Unicode strings are encoded in UTF-8 format until I've read this post [https://blog.jcoglan.com/2014/06/17/utf-8-its-what-strings-are-made-of/] by
development, tips 6 + 1 Tips to Write Easily Extensible Code As promised in the post The 0 Ohm Resistor [https://while2.ghost.io/the_0_ohm_resistor/], here there are some suggestions you may find useful while developing a new
development, C, C++ Power and Control This video is a perfect representation of the Pirelli's slogan "power is nothing without control". You can have the fastest car in the world but if
development, working life, specifications Missing Things People talks about things they consider important to communicate and not about what they think is implicit. This is normal: life is too short to lose time speaking about things
development, working life Think More and Work Smarter Sometimes I work with the autopilot on. It happens when there is a series of simple things to do in a small amount of time. The priority become to mark
development, C Self-limited Development I'm sure you have already heard of the following proverb: > If all you have is a hammer, everything looks like a nail. It has come to my
development, working life 4 Lifeboats for Your Projects I like the metaphor of the lifeboat used in this post [http://jacoporomei.com/news/contracts-are-lifeboats/] written by Jacopo Romei [1]. But I want to slightly turn away from the
development, working life Avoid Perfection So you have this great idea for the next killer app, don't you? As you begin to write the code, millions of details start to obfuscate your mind.