{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2010/08/09/cleaner-cdk-code-8-java-naming.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/bvf3b-aag58",
      "url": "https://chem-bla-ics.linkedchemistry.info/2010/08/09/cleaner-cdk-code-8-java-naming.html",
      "title": "Cleaner CDK Code #8: the Java Naming Conventions and Camel Casing",
      "content_html": "<p>Another simple approach to make your code more readable, is to adhere to the Java naming conventions. They prescribe that variables start with a\nlower case characters, as do method names. Class and interfaces, however, start with upper case characters. By all using these same conventions,\nwe need to learn only one scheme and can more easily recognize what are variables, methods and classes. Have a look at these\n<a href=\"http://www.oracle.com/technetwork/java/codeconventions-135099.html\">naming conventions by Oracle</a> and the concept of\n<a href=\"http://en.wikipedia.org/wiki/CamelCase\">Camel Casing</a>, heavily used in Java.</p>\n\n<p>BTW, note that the CDK conventions deviate from the Oracle conventions just linked to with respect to variable names. We have not found a way\nto have <a href=\"http://pmd.sf.net/\">PMD</a> to differentiate to where variables are used, and therefore require at least three characters per variable\nname, to enforce some meaningful naming, which is required by Oracle’s conventions too.</p>\n\n<h3 id=\"previous-topics\">Previous topics</h3>\n\n<ul>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/08/05/cleaner-cdk-code-7-understand-what-code.html\">Cleaner CDK Code #7: understand what the code is supposed to do <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/05/21/cleaner-cdk-code-6-set-cdkexceptions.html\">Cleaner CDK Code #6: set the CDKException’s cause Exception <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/05/15/cleaner-cdk-code-5-developer-against.html\">Cleaner CDK Code #5: develop against interfaces <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/03/30/cleaner-cdk-code-4-inheriting-javadoc.html\">Cleaner CDK Code #4: inheriting JavaDoc from super classes and interfaces <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/03/26/cleaner-cdk-code-3-run-pmd-tests.html\">Cleaner CDK Code #3: run the PMD tests <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"http://chem-bla-ics.blogspot.com/2010/03/cleaner-cdk-code-2-stringcontains-and.html\">Cleaner CDK Code #2: String.contains() and logger messages</a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2010/03/07/cleaner-cdk-code-1-list-and-for-each.html\">Cleaner CDK Code #1: List and the for-each loop <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n</ul>",
      "summary": "Another simple approach to make your code more readable, is to adhere to the Java naming conventions. They prescribe that variables start with a lower case characters, as do method names. Class and interfaces, however, start with upper case characters. By all using these same conventions, we need to learn only one scheme and can more easily recognize what are variables, methods and classes. Have a look at these naming conventions by Oracle and the concept of Camel Casing, heavily used in Java.",
      
      "date_published": "2010-08-09T00:00:00+00:00",
      "date_modified": "2026-09-27T00:00:00+00:00",
      "tags": ["cdk","java"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
