We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
By the general rules for writing "Clean Code" (according to the book), we should write functions as small as possible. Putting the 'capitalize' part in another function should be a better practice.
Java Strings Introduction
You are viewing a single comment's thread. Return to all comments →
By the general rules for writing "Clean Code" (according to the book), we should write functions as small as possible. Putting the 'capitalize' part in another function should be a better practice.