My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What are some simple coding / IDE tips and tricks that improved your productivity?

Manoj Mahalingam's photo
Manoj Mahalingam
·Apr 7, 2018

One of the simplest tricks I learnt while pairing was that while creating a new test class, open existing test, duplicate the existing template for tests, rename and then extract to new file.

Another simple example is don't type the left side of declaration, do the right side and then do local variable refactoring.

What are some of the simple tricks that once become muscle memory just save you a lot of time?

(Programming is not about speed of coding and programmers don't spend majority of time coding. Nevertheless, it is worth it to know some of the tricks so that you can become more efficient or just for knowing how others code.)