Last active
February 26, 2024 19:02
-
-
Save celsobessa/e4283e46c1bc3173f2f5322506fda031 to your computer and use it in GitHub Desktop.
Revisions
-
celsobessa revised this gist
Feb 26, 2024 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,13 @@ /** Pseudocódigo // caso "exceto"/"except", "a não ser"/"unless", SENÃOFOR/IFNOT IF ( condition NOT true) THEN criteria must be met ENDIF // caso "ou"/"OR" IF (criteria IS true OR condition IS true) THEN criteria is met ENDIF // caso "ou exclusivo"/"XOR" IF (criteria IS false AND condition IS true) THEN criteria is met ENDIF -
celsobessa revised this gist
Feb 26, 2024 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,25 +1,33 @@ /** Pseudocódigo // caso "exceto"/"except", "a não ser"/"unless" IF ( condition NOT true) THEN criteria must be met ENDIF // caso "ou"/"or" IF (criteria IS true OR condition IS true) THEN criteria is met ENDIF // caso "ou exclusivo"/"or" IF (criteria IS false AND condition IS true) THEN criteria is met ENDIF **/ // caso "exceto"/"except", "a não ser"/"unless" if ( isCondition() === false ) { meetsCriteria(); } // caso "ou"/"or" if (meetsCriteria() === true || isCondition() === true ) { meetsCriteria(); } // caso "ou exclusivo"/"or" if (meetsCriteria() === false && isCondition() === true ) { meetsCriteria(); } -
celsobessa revised this gist
Feb 26, 2024 . No changes.There are no files selected for viewing
-
celsobessa created this gist
Feb 26, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ /** Pseudocódigo IF (NOT condition) THEN criteria must be met IF (CRITERIA or CONDITION) THEN criteria is met **/ // caso "exceto"/"except", "a não ser"/"unless" if ( isConditionX() === false ) { meetsCriteriaY(); } // caso "ou"/"or" if (meetsCriteriaY() || isConditionX() === true ) { meetsCriteriaY(); } // caso "ou exclusivo"/"or" if (meetsCriteriaY() === false && isConditionX() === false ) { meetsCriteriaY(); }