Teaching kids real math with computers/calculators
|
08-26-2018, 09:42 PM
Post: #17
|
|||
|
|||
RE: Teaching kids real math with computers/calculators
(08-26-2018 04:22 PM)Csaba Tizedes Wrote: The real question is that, what is a good programming language for kids? The question is not only which language but what they want to achieve with their programs. Maybe you ask them. Clojure Maria is a coding environment for beginners. Creating graphics gives them immediate feedback and a feeling of achievement. JavaScript Another possibility is using JavaScript with Canvas in Chrome (or Firefox):
The HTML file graphic.html must be loaded from the browser and just contains these lines: PHP Code: <!DOCTYPE html> Note: You can set width and height differently. The JavaScript file graphic.js contains the code. The function clean clears the canvas and moves the context ctx to the center of the canvas: Code: const canvas = document.getElementById("white-board"); Now you can use the Console and make experiments by writing code snippets. Once you have something meaningful extract it into a new function in the JavaScript file. Documentation: HTML Canvas Reference You have a debugger which allows to set breakpoints and step through the code. Raspberry Pi
Personally I would advise against using calculators to start learning programming. Kind regards Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)