View RSS Feed

Recent Blogs Posts

  1. Naming a Method

    by , 04-26-2012 at 06:14 PM
    Though a method name could be code conventions or legal identifier restrict method names. Method names shall be multi worded name which will be starting with verb, in lowercase preceeded by nouns, adjectives etc or they shall be verb, in lowercase. In case of multi word names, it is necessary that 1st letter of every second & preceeding words shall be made capital. Few examples are as following:

    run
    runFast
    getBackground
    getFinalData
    compareTo
    ...
    Categories
    Tutorial