Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 PROGRAMMING


  What and what not to log while debugging

Log is a critical part of an application. It serves as an eye to the programmer on how the application is working while debugging. Especially for applications running on production environment, if the application encounters problem and the problem cannot be reproduced on other environments, log will be extremely useful.While log is essential, but developers have to log smartly. Because if don't put log smartly, you may not get what you want while debugging or you may get too many redundant logs which eat up the disk space and degrade the performance of the system.So what and wha...

5,231 0       PROGRAMMING SUPPORT DEBUG LOG


  Most Pressed Keys and Programming Syntaxes

I switch between programming languages quite a bit; I often wondered what happens when having to deal with the different syntaxes, does the syntax allow you to be more expressive or faster at coding in one language or another. I dont really know about that; but what I do know what keys are pressed when writing with different programming languages. This might be something interesting for people who are deciding to select a programming language might look into, here is a post on the answer to the aged question of: Which programming language should I learn?As far as I can tell lang...

4,998 0       PROGRAMMING LANGUAGE KEYBOARD HOTTEST KE


  Why Good Programmers Are Lazy and Dumb

I realized that, paradoxically enough, good programmers need to be both lazy and dumb.Lazy, because only lazy programmers will want to write the kind of tools that might replace them in the end. Lazy, because only a lazy programmer will avoid writing monotonous, repetitive code – thus avoiding redundancy, the enemy of software maintenance and flexible refactoring. Mostly, the tools and processes that come out of this endeavor fired by laziness will speed up the production.This makes a lazy programmer a good programmer. Of course, this is only half the truth; for a lazy programmer to be ...

4,837 1       REASON GOOD PROGRAMMER LAZY DUMB


  The Greatest Regex Trick Ever (Simplified)

There is a post which is really hot recently which showcased a best ever regular expression trick. In this post, it provides a trick which can be adapted to situations where one wants to match some patterns desired and exclude the patterns undesired. In simple, the trick is :Pattern not desired | (Pattern desired)Then taking the group 1 match of the capturing group of matched. This group will contain the strings matching the desired patterns.Have to say this trick is really neat and brilliant. Here is a simple explanation on how this works. The above regular expression will first try to m...

4,806 0       JAVA PROGRAMMING REGULAR EXPRESSION


  How to be an excellent programmer

To use a programming language is very easy for a programmer, but it's a dream for many programmers to be an expert software developer. There are five levels of programmers: Novice, Senior novice, competent, proficient, and expert. Most programmers are senior novice. And programmer living in this level are a lot of people who have 1 to 10 years work experience.As a programmer, how to find the bottlenecks for your improvement and how to improve yourself quickly? This is really not an easy question which can be answered in a few words. I started to work in software industry in 2009 and I left the...

4,706 0       PROGRAMMING TIPS HABIT


  The Day Programmer vs. The Night Programmer

This post is a slightly edited form of an e-mail that I sent around internally last year. But it was suggested to me recently that I post it up to my blog to see what people think – am I right or wrong?Over the years I’ve come to the belief that there are two kinds of programmer in the world, no matter what technology they work with, lets call them:        1. Day Programmers        2. Night ProgrammersNow – day programmers are the most prevalent in this industry, and you find them mostly in organisations...

4,701 0       PROGRAMMER DIFFERENCE DAY PROGRAMMER NIGHT PROGRAMMER


  If a programming language was a boat…

我是受最近的一个论坛帖子启发,他的想法至今仍让我感到奇特。Turing(图灵)Turing绝对是一个双人皮划艇(感谢评论里的提醒)。它很小。人力的。它通常被当作初学者的”船“。而且它非常的加拿大。Original photo by naokomcJavaJava...

4,660 0       PROGRAMMING TURING C C#


  Collection Of Puzzles For Programmers

Did you know that we have a nice collection of puzzles here on less than dot? Some are harder than others so there is something for everyone. You can pic any language you want, you will see that there are solutions in Ruby, Python, Visual Basic, SQL, JavaScript, C++ and other.Here is a partial list of what we have Friday the ThirteenthsThe goal is to identify all friday the thirteenths for a given timeframeRegular PentagonGiven a grid co-ordinate (x,y) as the centre point of a regular pentagon, and the sum of the length of the sides, return the co-ordinates of each point as: "Top", "MidLeft",...

4,656 0       PROGRAMMING PUZZLE FIBONACCI PRIME ASCII