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

 PROGRAMMING


  Top 20 programming languages in April 2011

Next picture shows the Top 20 programming languages in April 2011 from TIOBE. From the picture, we can find the most popular programming languages are the different representatives of programming language styles. And some of them are popular because the platforms which use this programming language is very popular.For example C#, because of Microsoft, this language is used in .Net platform. Many users are using this programming language.Also, Java, C and C+ are the top 3 languages in he world. They are the traditional popular languages.Source : picture is from TIOBE and CSDN...

12,214 0       TIOBE RANKING PROGRAMMING LANGUAGE. C C+


  Programming is a Super Power

In a society where technology and the Internet have become incredibly prominent elements of our daily lives, being able to program is akin to having a super power. In fact, a programmer is able to not only easily interact with cutting edge technology, but also to take advantage of said technology to transform pure thoughts into something as tangible and useful as software.I would argue that there has never been a more exciting time for being able to program. While being a part of our industry back in the late seventies and early eighties must have been a very exciting time for programmers, I f...

2,125 0       PROGRAMMING PROGRAMMER SUPER POWER


  Substitute of Right Click Computer to Open Manage

I believe some of us may encounter some strange problems when we expect something normal to happen when we operate on our computer. On Windows 7, we may sometimes want to manage our service or applications by opening service manager.But somehow we may find that we cannot open it by clicking on Start->Right click on Computer->Manage.It may prompt some error message to tell us we cannot open the service manager. Then what to do? Here is a way to open it,goto Start->Run,then type "compmgmt.msc". It will open the Computer Management window.Hope you are good luck!...

2,820 0       COMPUTER MANAGEMENT WIN 7 COMPMGMT.MSC S


  Want to write some code? Get away from your computer!

I’ve recently realised something. The best place to write code isn’t in front of your computer, with your compiler, IDE and tools. The best place to write code is far, far away from any of these tools – somewhere where you can think properly. For a language with which you are fairly familiar, the mechanics of translating the program in your mind to a program that the compiler can compile (or the interpreter can interpret) is fairly easy – it’s coming up with that program in your mind which is hard.The other day I was on a train journey. I had my lap...

2,651 0       PROGRAM GOO DCODE AWAY USE MIND


  A return to good code

Stop doing this:public boolean foo() { if (true) {   return true;   }  else {   return false;   }}It always amazes me when I dig into an open source project, and I see code written by supposed experts, and reviewed by seasoned professionals, and nobody slaps the wrists of the developer who shoves return statements right in the middle of a method.Tell me, how hard is it to do this:public boolean foo() {   boolean flag = true;   if (true) {    flag=true; }   else {   flag=...

2,329 0       JAVA CODE METHOD RETURN CONDITION


  How Google Tests Software - Part Three

Lots of questions in the comments to the last two posts. I am not ignoring them. Hopefully many of them will be answered here and in following posts. I am just getting started on this topic.At Google, quality is not equal to test. Yes I am sure that is true elsewhere too. “Quality cannot be tested in” is so cliché it has to be true. From automobiles to software if it isn’t built right in the first place then it is never going to be right. Ask any car company that has ever had to do a mass recall how expensive it is to bolt on quality after-the-fact. However, this is ...

2,366 0       GOOGLE SOFTWARE TESTING QUALITY FIDELITY


  Converting Decimal Fractions to Binary

Converting Decimal Fractions to BinaryIn the text proper, we saw how to convert the decimal number 14.75 to a binary representation. In this instance, we \"eyeballed\" the fractional part of the binary expansion; 3/4 is obviously 1/2 + 1/4. While this worked for this particular example, we\'ll need a more systematic approach for less obvious cases.In fact, there is a simple, step-by-step method for computing the binary expansion on the right-hand side of the point. We will illustrate the method by converting the decimal value .625 to a binary representation..Step 1: Begin with the decimal frac...

4,635 0       DECIMAL FRACTIONAL BINARY


  The worst program I ever worked on

Most contract jobs fade pretty quickly in memory after the work is done, but some you remember for the rest of your life. This is one of the latter variety.This happened long ago, at a (fair sized) company that shall remain nameless. The software was a chunk of code that had been maintained by a single guy that had been fired recently and was a core component of a commercial system.So far nothing unusual, companies tend to find out that they have a piece of critical knowledge in one head all the time, usually if something happens to or with such a person there is a mild panic, some days of fra...

2,257 1       PROGRAM WORST