basics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basics [2023/09/08 06:20] – appledog | basics [2023/09/11 12:17] (current) – appledog | ||
---|---|---|---|
Line 2: | Line 2: | ||
TO a large extent this will depend on what language is introduced first. | TO a large extent this will depend on what language is introduced first. | ||
- | At times I have used CBM BASIC, PHP, Python or other languages to teach. The language | + | At times I have used CBM BASIC, PHP, Python or other languages to teach. The language |
< | < | ||
Line 9: | Line 9: | ||
c = a + b | c = a + b | ||
- | if c >= a: | + | if c > a: |
print(" | print(" | ||
else: | else: | ||
- | print(" | + | print(" |
</ | </ | ||
+ | |||
+ | That is pretty much the only reason why Python is useful. You can start learning without getting confused by boilerplate code like ''"# | ||
== Recommended Environment | == Recommended Environment | ||
Line 20: | Line 22: | ||
=== The Command Line | === The Command Line | ||
- | You won't loose much time with an editor like nano. If you use automation such as a build system, the command line can be just one or two keystrokes away from an IDE. For many this is fine, but it can feel a little oldschool. Still, I have taught kids this way and it does not impact their learning. | + | You won't loose much time with an editor like nano. You can use Linux, Mac, or WSL on Windows. Using the terminal |
=== Online IDE | === Online IDE | ||
Line 27: | Line 29: | ||
* [[https:// | * [[https:// | ||
- | I don' | + | I don' |
All else considered, if you can, just use PyCharm. | All else considered, if you can, just use PyCharm. |
basics.1694154053.txt.gz · Last modified: 2023/09/08 06:20 by appledog