Created
August 25, 2017 15:25
-
-
Save JoySH/8162f29e6cb34435a450b30a9f4dd12b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class welcome { | |
//Welcome! I'm a comment and I'm here to tell you what this particular class file is for. The developer who created this class added | |
//me so that future developers, like yourself, would have a quick little introduction to what this class does. | |
//The two little slashes tell the compiler* that everything following on this line is a note | |
//for humans and not code that needs to be executed | |
// (* A compiler is the computer program that translates this code into executable computer instructions) | |
//But you know what? This set of comments is already several lines long and getting longer. I'm tired of typing two slashes every time | |
/*There. That's better. the '/*' tells the compiler that there are multiple lines of comments coming. It knows everthing on this line | |
and any following lines | |
and lines | |
and lines | |
and lines will continue to be comments | |
until it sees a */ | |
//Ok, let's get started! | |
public static void youDoThisPart() { | |
/*Your assignment is to write two comments below this one. They can say whatever you like. | |
Make one as a single line comment using the // notation. Make the other one a multi line comment using the /* notation. | |
When you're done, save this file so that it is compiled and stored in Salesforce. */ | |
// This single line comment makes sense for small snippets | |
// | |
/* Is a better choice for longer explanations | |
that might include reason | |
A. | |
B. | |
C. | |
D. | |
or even more! */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// Doing laundry :Steps //
/*1.Go to the Laundry Room
2. Get the Laundry basket
3. Retrieve the Dirty clothes that need to be washed
4. Decide if we need to Separate the white ones and colored one ?
5. a. If yes proceed with Separating it - Create two plies -White and Colored
b. Decide again if it will be one load versus multiple loads ?
c. If Single load proceed to loading step 7 skip 5d and e
d. If multiple loads then - split them into batches of 1, 2,3... and proceed to load batch 1 to loading step 7
e. Repeat 5 d until all batches are completed successfully
6. If No separation required ( all go in together Colored and Whites)
a. Decide again if it will be one load versus multiple loads ?
b. If Single load proceed to loading step skip 6c & 6d
c. If multiple loads then - split them into batches of 1, 2,3... and proceed to load batch 1 to loading step 7
d. Repeat 6c until all batches are completed successfully
7. Load the clothes into the washer
a. Decide if the load is for white versus colored clothes ?
b. If the load is for White clothes washing - Select Delicate washing cycle
c. If the load is for Colored clothes- Select Quick washing cycle
8. Add the washing liquid
a. Decide if the loaded clothes are colored versus white clothes ?
b. If the loaded clothes are Whites use a special liquid
c. If the loaded clothes are Colored use regular liquid
9. Ensure everything looks good to go e.g. :Close the door/ lid
10. Start the washing cycle
11. If its Delicate cycle - come back after 40 mins
If its a Quick wash come back after 30 mins
12. Decide the the means of drying - Dryer / Air drying
13. If Using Dryer
a. Decide if the washed load is whites versus Colored
b. If Whites Select the Delicate drying cycle
c. If colored select Medium heat cycle
d. Start the Dryer
14. If going with Air Drying
a. Get drying rack / stand to hand clothes
b. Get the clothes pin
c. Arrange them all onto the rack and use pins wherever needed.
15. Check if drying cycle is complete ( if going with Dryer option)
a. If Yes go to Step 16
b. If NO then Just wait
16. Remove Dried Clothes
a. Decide if its Air dry versus Dryer
b. If Dryer - Remove it from the dryer
c. If Air dryer - Remove it from the Drying rack
17. Fold / Hand clothes
a. Decide which ones are Fold versus Hang
b. Being to sort Fold and Hang into to piles
c. Fold all the clothes from the Fold pile to store them into the closet
d. Hang all the clothes from the hang pile to store them into the closet.
18. End */
//Optional : Can get into further details of storing them into the closet if needed :)//
//I have created a flow chart for a better view . Here is the link//
//https://drive.google.com/file/d/1NU2O6xu9ZiSk0eGiaDpCco1un1bdVyin/view?usp=sharing//
Home work assignment 2:
}