This is my new blog about software development – mainly about Ruby and Ruby on Rails, which I currently use – but also on programming and software development in general. Why the title “4 lines of code” ? 4 Lines of code is the point where complexity sets in, where things get convoluted, complicated and complex. The main control structures (procedures, functions, blocks, if-then-else control structures and loops) contain typically at least 3 lines. 4 Lines – this is what every developer can usually understand immediately. The goal of every software developer is writing clean, beautiful and powerful code, which is easy too understand. If you can’t solve the problem of a function in 4 lines of code, then it is getting complex and harder to grasp. There is a lot which you can describe in only 55 words or a single sentence. How much can you do with 4 lines of code?

Advertisements