Skip to main content

Coding Best Practices

Cartoon Network Airing Coding-Themed 'Powerpuff Girls' Episodes in  Partnership With Scratch | Hollywood Reporter

 When it comes to coding, best practices is required to meet Industry Standards.

But, what are the best practices and why do you need one. Why to bother ?

Well, we have you covered on this. You see more than writing code, a programmer needs to remember that the code base will be accessed by multiple developers in the long run.

Associates will come and go. People change frequently, Right ! They change teams. They change companies. Now, developers who are newly assigned a project, think about them. If the code is clean, readable, with proper comments and the right documentation, how great would that be. Nothing can make their lives easier. This is one of the prime factor why coding best practices are followed. Also, writing the code again and again will only increase the size, but not be called efficient. Hence comes, code reusability.

To jot it down -

1. Maintability

2. Readability

3. Reusability


Now what are the best practices, well, hold on, here you have it below -

1. Proper commenting of code.

2. Proper variable and function names.

3. Proper documentation.

4. Code review with peers could get an optimised solution.

5. Keeping backup, versioning and code history.

6. Using helper methods which is modularising code as much possible.

7. With proper test classes or methods or test cases.




Comments

Popular posts from this blog

Remote Developer Job Sites

Remote Developer Job Sites 1.  https://angel.co/ 2.  https://turing.com/ 3.  https://www.employremotely.com/ 4.  https://www.upwork.com/ 5.  https://www.freelancer.com/ 6.  https://www.pesto.tech/ 7.  https://www.guru.com/ 8.  https://www.fiverr.com/ 9.  https://remotive.io/ 10. Search Remote Jobs on LinkedIn or other such platforms. 11. Sell Code on  https://codecanyon.net/ Lastly, a viable option could be, you can open your own website, display your work and get your own set of clients.

The Salesforce MasterClass

  Salesforce Master Class 1.0 Overview Orgs Developer Console Setup Objects Object Relationship Object Manager Page Layout Multitenant Architecture Governor Limits Metadata Standard Objects Custom Objects Fields Formula Fields Roll Up Summary Fields Master Detail Relationship LookUp Relationship Validation Rules Web to Lead Chatter Schema Builder Workflow Rules Process Builder Workflow vs Process Builder Salesforce Master Class 2.0 Apex Triggers Visual Flow Apex Visualforce Static Resources SOQL SOSL SOQL vs SOSL Workbench DML Lightening Components/Aura Lightening Web Components Lwc vs Aura Lightening Design System Apex Test Class Approval Process Reports  Dashboards Data Loader, Import wizard Salesforce Data Security Apex CallOuts Integration Public Groups, Sharing Rules Sandbox and Production Change Set Deployment Salesforce Master Class 1.0 Overview - Salesforce Classic Salesforce Classic is the earlier version of the UI which was provided within the Salesforce Application ...

Is React Native Garbage ?

Well we shall look into two different scenarios inorder to understand this fully. Scenario 1. Company like Google or Apple who wants to release an app and wants real crazy fast app load, wants better control over hardware and does not much care about the cost of hiring teams of native developers for different platforms. This is the case when one should opt for Native code bases like Java or Swift.  Now lets look at our next Scenario. Scenario 2. A startup wants to grow crazy fast. It has cost constraint but wants to reach the consumer base of both web, ios and android. In such a scenario, the startup settles down with a framework like React Native and does not bother if the app loads up a little slow, and serves its purpose of getting to the larger audience faster with a bunch of Javascript Developers. So, nothing is garbage. Its just two different scenarios and different priorities based on Business demand.