Coding without concepts

* String a = new String(“abc”);

* Defining a constant as : private double PI = 3.14;

When you see this type of code, then the person writing it probably know coding, but doesn’t have a good understanding of programming.

Want more snippets?

* String sql = “select abc,xyz” +
” from def” +
” where ijk = mln”;

* public SomeConstructor() { abc = new String(“”); };

I am not making these up just for filling up a blog. These are the kind of code I encountered in my professional life.

Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s