Automation Champion

Automating Salesforce One Click at a Time
Automation Champion
  • Home
  • About Me
    • Testimonials
    • Resources
  • Process Builder
  • Salesforce Flow
  • Pardot
  • Apex
  • Training Details
    • Salesforce Administrator
    • Salesforce Advanced Administrator
    • Platform App Builder
    • Lightning Flow
    • Pardot
    • Sales Cloud
    • Service Cloud
    • Community Cloud
    • Hands-on Excercises
  • My Books
  • Contact Me
  • Tag: Develop logical ability in C++

    • Bugged by Bugs? Master Debugging!

      Posted at 10:05 AM by Rakesh Gupta, on September 18, 2017

      Debugging is an art of finding errors. There are certain constants in life which are unavoidable – death, taxes, and bugs in programming! Debugging comprises of finding the source of a problem in a code base, identifying possible causes, testing out hypotheses until the ultimate cause is found, and then eventually eliminating that cause and ensuring that it will never happen again.

      Before we take a deep dive into mastering debugging, let me draw your attention to my previous article Pre-requisites for Learning Apex – Logical Mind and Confidence! I discussed Variables naming convention and Operators. There were few assignments for you in that article, if you did not get a chance to complete it, do it right now. It will not take more than 30 minutes to complete them. 

      Irrespective of whether you are a newbie, just starting a career as a Salesforce Developer, or have some programming background, I would suggest you complete the assignments. The assignments will help you to, either learn few new things or, at the least, brush up your concepts.

      This is the third article in learning Apex series. If you have not read first two articles – Mastering Apex Variables – a Stepping Stone in your Apex Journey and Pre-requisites for Learning Apex – Logical Mind and Confidence! – I strongly recommend going through it now. At bare minimum, these articles will help you to brush up your basic concepts of programming. 

      The common question people repeatedly ask me is – Are there any prerequisites to start learning Apex Programming? To that, my simple answer is – yes!  However, my recommended prerequisites is not to practice ABCs of Apex! But, it is to cultivate your ability to build logic! If you cultivate your logical mind then, it is not difficult to learn programming languages. After all programming languages are created by mortals like us!

      A person who really wants something will find a way, a person who does not will find an excuse. 

      To learn Apex programming, remove the rust! One of the most efficient ways to do so is to complete a Sudoku puzzle daily – start with easy puzzles.  Let this be a starting point, or a pre-requisite, of your Salesforce Developer Journey!

      Second suggestion – start writing Pseudocode instead of writing Apex code directly. It means solving the problem in plain English (Pseudocode)! And, only then, write the code. Pseudocode is an easy way of writing programming code in English – it is not an actual programming language. It uses short phrases to spell out the logic on how one would solve a requirement before one creates codes in a particular language. Once you are confident about Pseudocode, only then start converting your Pseudocode into any programming language – in our case, into Apex. Remember Pseudocode is just plain English not related to any programming language. 

      Salesforce offers lots of content to get you started on your Apex journey. If you are just starting your Salesforce Developer career then read this article – Creatively Decode Your Salesforce Developer Journey– to get some guidance, as well as, to learn how to achieve your Salesforce Developer goal. 

      My primary purpose, through this and other blogs, is to be your guide and a mentor. As for Apex learning tools – such as browsing through Apex content to get you started on learning the language – there is no shortage of material available on the Web. For example, search for ‘best practice to write Apex trigger’ and you will Read the rest of this entry!

      Posted in Apex | 4 Comments | Tagged Admin to Salesforce developer, Apex Journey, Apex Training, Best way to debug your Apex code, Best way to debug your code, Bugs are your friends, Bugs in Apex, Debugging is not limited to Programming - It is Omnipresent!, Debugging through Debug Log, Debugging through Developer Console, Develop logical ability, Develop logical ability in Apex, Develop logical ability in C++, Develop logical ability in Java, developer console, Developer Console as Source Code Editor, Developer Console in Salesforce, Execute Anonymous, Execute Anonymous in Apex, Execute Anonymous in Developer Console, Execute SOQL in Developer Console, Find bug in Apex, Find bugs in my program, How to become Salesforce DevArchitecteloper, How to become Salesforce Developer, Learn how to debug Apex code, Learn how to debug your code, Logical operators in Apex, Online Salesforce training, Rectify bugs in Apex, salesforce certified developer exam, Salesforce Online Training, Salesforce Platform Developer I, Salesforce Platform Developer I Exam, Salesforce Platform Developer II Exam, Set and View Checkpoints in Apex Code
    • Pre-requisites for Learning Apex – Logical Mind and Confidence!

      Posted at 10:01 AM by Rakesh Gupta, on August 21, 2017

      In my last article Mastering Apex Variables – a Stepping Stone in your Apex Journey I discussed about Variables and Data Types. There were few assignments for you in that article, if you did not get a chance to complete it, do it right now. It will not take more than 30 minutes to complete them. 

      Irrespective of whether you are a newbie, just starting a career as a Salesforce Developer, or have some programming background, I would suggest you complete the assignments.  The assignments will help you to, either learn few new things or, at the least, brush up your concepts.

      Many of you wonder, and have asked me repeatedly – Are there any prerequisites to start learning Apex Programming? To that, my simple answer is – yes!  However, my recommended prerequisites are not practicing ABCs of Apex! But, it is to cultivate your ability to build logic! My recommendation is not only based on my own experience but, also that of my friends and mentees – many of whom did not have any programming background; yet, by sharpening their abilities to develop models logically – i.e., develop Pseudocodes – almost on the fly – they have gone on to become great Developers.

      Many Apex learners before you have started, and many after you will start, their Apex journey without any programming background. Out of this bunch, many have gone on to become successful Developers and many will do the same in the future. In short, if you venture your Apex journey without any programming experience or background, you will not be bestowed with a ‘pioneer medal’! But, if you do follow my suggestions and recommendations, the probability that you will go on to become a sought after Salesforce Developer is high.

      The only other thing that you will need, after cultivating logical skills, is confidence! That is what I learnt from my experience – If a guy like, me who did not go to an English Medium school, or got a formal English language training, can publish 5 books – back-to-back – then anyone can achieve anything as long as they are determined to do so. Apex is just a programming language – not a rocket science! You can do it! So, let us get started – dust yourself, cultivate a logical mind and, take your next step with full force and confidence!. 

      Optimism is the faith that leads to achievement. Nothing can be done without hope and confidence. 

      Salesforce offers lots of content to get you started on your Apex journey. If you are just starting your Salesforce Developer career then read this article – Creatively Decode Your Salesforce Developer Journey – to get some guidance, as well as, to learn how to achieve your Salesforce Developer goal. Not convinced, and still worried about not having any programming background? Fine, then my recommendation is to meticulously read ‘Head first Java’ book. This is one of the highly recommended programming books for beginners; it won’t hurt to master it before you take a plunge into the world of Apex.

      My primary purpose, through this and other blogs, is to be your guide and a mentor. As for Apex learning tools – such as browsing through Apex content to get you started on learning the language – there is no shortage of material available on the Web. For example, search for ‘best practice to write Apex trigger’ and you will end up with hundreds of Read the rest of this entry!

      Posted in Apex | 3 Comments | Tagged ADM 201, adm 201 certification, adm 201 salesforce, Admin 201 exam salesforce, Admin to Salesforce developer, Apex Journey, Apex Training, Apex variable types, Assignment operators in Apex, Assignment operators in Salesforce, Bitwise operators in Apex, Bitwise operators in Salesforce, Comparison operators in Apex, Comparison operators in Salesforce, Con 201, Create variable in Apex, Create variable in C, Create variable in Java, Data typs in Apex, dev 401, Develop logical ability, Develop logical ability in Apex, Develop logical ability in C++, Develop logical ability in Java, developer console, Developer Console in Salesforce, DF17, Dreamforce 17, Dreamforce’17, Execute Anonymous, Execute Anonymous in Apex, Execute Anonymous in Developer Console, Execute Anonymous in Salesforce, Getting started, How to become Salesforce Admin, How to become Salesforce Consultant, How to become Salesforce DevArchitecteloper, How to become Salesforce Developer, How to become Salesforce MVP, How to start my career in Salesforce, Logical Mind and Confidence, Logical operators in Apex, Logical operators in Salesforce, Mastering Apex Variables, Mathematical operators in Apex, Mathematical operators in Salesforce, Motivational quotes, Online Salesforce training, Operators in Apex, Operators in programming, Operators in Salesforce, Platform App Builder, Platform App Builder Exam, Pre-requisites for Learning Apex, Pre-requisites for Learning Lightning Component, Pre-requisites for Learning Salesforce, Rules for Naming Variables, Rules for Naming Variables in Apex, Rules for Naming Variables in Java, Rules for Naming Variables in Salesforce, S alesforce Platform Developer I, Sales cloud, Sales Cloud exam, salesforce, Salesforce admin 201, salesforce Admin exam, salesforce certified admin exam, salesforce certified administraor exam, salesforce certified developer exam, Salesforce consulting, Salesforce developer training, Salesforce expert, Salesforce fundamentals, Salesforce guide, Salesforce job, Salesforce Mentor, Salesforce Online Training, Salesforce Platform Developer I, Salesforce Platform Developer I Exam, Salesforce Trailhead, Salesforce Training, Service cloud, Service Cloud exam, Start as Salesforce admin, Start as Salesforce Architect, Start as Salesforce Seveloper, Start your Salesforce Architect journey, Start your Salesforce career, Start your Salesforce Developer journey, Start your Salesforce journey, Start your Salesforce life, Steps to Jump-Start Your Salesforce Career, Variable deceleration in Apex, Variable deceleration in C++, Variable deceleration in Java, Variable deceleration in Salesforce, Variable in Apex, Variable in c++, Variable in java, Variable in Programming, Variable in python, Variable types in Apex, Ways To Advance Your Salesforce Career
    • Search

    • Upcoming Trainings

      Salesforce Administrator Certification
      Salesforce Advanced Administrator Certification
      Salesforce Platform App Builder Certification
      Lightning Flow & Process Builder
      Advanced Lightning Flow
      Pardot Specialist & Consultant Certification
      Sales Cloud Consultant Certification
      Service Cloud Consultant Certification
      Community Cloud Consultant Certification
    • Sponsor #1

    • Sponsor #2

    • Sponsor #3

    • Sponsor #4

    • Order Now!

    • Buy My Book

    • Buy My Book

    • Recent Posts

      • Getting Started with Salesforce Flow – Part 59 (Clone a Chatter Group with Members)
      • New Research: Salesforce Delivery Teams Excel in Speed but at the Expense of Quality
      • Improve Your Data Collection Strategy with Web Forms
      • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
      • Advancing Business Operations with Salesforce and QuickBooks
    • Salesforce ID Converter Build on Lightning Flow

      Converting 15 digit ID to 18 digit Salesforce ID
    • Blog Archives

    • Categories

  • Information

    • About Me
    • Affiliate Disclaimer
    • Contact Me
    • Privacy Policy
  • Top Posts

    • Learning Flow
    • Learning Process Builder
    • Getting Started with Salesforce Flow – Part 43 (Dynamic Approval Routing in Salesforce)
    • Getting Started with Salesforce Flow – Part 57 (Adding Validation to Flow Screen Components)
    • Getting Started with Salesforce Flow – Part 59 (Clone a Chatter Group with Members)
    • Getting Started with Salesforce Flow – Part 11 (Count Number of records in a Record Collection Variable)
    • Getting Started with Salesforce Flow – Part 24 (Automatically Assign Permission Sets to New User)
    • Salesforce Spring’21 Release Quick Summary
    • Getting Started with Salesforce Flow – Part 1 (Understand, Create & Use Variables in Flow!)
    • Getting Started with Salesforce Flow – Part 31 (Auto Submit Record into Approval Process with Flow)
  • Social Media

    • View Automationchampion’s profile on Facebook
    • View Automationchamp’s profile on Twitter
    • View Rakeshistom’s profile on GitHub