Thomas Sundberg

February 16, 2016

Comments are deodorant for your code

Filed under: Clean Code, Programming — Tags: , , — Thomas Sundberg @ 20:53

This post is available at http://www.thinkcode.se/blog/2016/02/16/comments-are-deodorant-for-your-code

Advertisements

3 Comments »

  1. Reblogged this on @rmate The Tester.

    Comment by armatearjun — February 17, 2016 @ 08:20

  2. It’s great to see another article coming out of the ETC2016 in Bucharest!
    One note: you should probably replace the following line of example code:
    WebElement inputAmount = browser.findElement(By.id(“amount inputAmount.sendKeys(“1”);

    With:
    WebElement inputAmount = browser.findElement(By.id(“amount”));
    inputAmount.sendKeys(“1”);

    Otherwise, it doesn’t really make sense.
    Cheers!

    Comment by Alin Pandichi (@alinpandichi) — February 17, 2016 @ 09:13


RSS feed for comments on this post. TrackBack URI

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

Blog at WordPress.com.

%d bloggers like this: