Skip to content

Commit

Permalink
Update common-content/en/module/tools/comparing-javascript-and-python…
Browse files Browse the repository at this point in the history
…/index.md

Co-authored-by: Sally McGrath <[email protected]>
  • Loading branch information
illicitonion and SallyMcGrath authored Jan 22, 2025
1 parent ed11da7 commit 907eb75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ objectives = [

JavaScript and Python have many things in common.

Most of the differences between them are quite cosmetic. e.g.
Most differences are "cosmetic". Here are some examples of cosmetic differnces:
* Some functions and operators have different names. But often there are functions/operators which do exactly the same thing.
* JavaScript uses `{}` around blocks of code and we optionally _choose_ to indent code, whereas Python uses `:` and _required_ indents.
* In JavaScript we choose to name variables in `camelCase`, whereas in Python we choose to name variables in `snake_case` (but in both langues we _could_ do either).
Expand Down

0 comments on commit 907eb75

Please sign in to comment.