dimanche 28 mai 2023

An ordinary back-to-school season

Here are three short stories, teasing about what it could mean for kids and teachers to use computer at school. The first and second stories are diversion to underline how ridiculous the situation is in school concerning IT.

jeudi 17 février 2022

The Cuis Book

This free book is a gentle introduction to programming with Cuis-Smalltalk. The reader without prior-knowledge to programming will learn about object oriented programming, the Smalltalk environment and its language.

The book comes with a recurring theme : writing a free inspired replica of the first video-game ever created: Spacewar!


mercredi 16 février 2022

Dr. Geo update, Cuis port

I am porting Dr. Geo to Cuis-Smalltalk. I am doing that because with Cuis, it is not too difficult to understand how large parts of the system is working. This is important when you need to understand the behavior of some features of the system, or when you want to extend the behavior of some classes.

Moreover, the Morphs system of Cuis -- the GUI part -- is a largely improved and simplified version of Morph as found in Squeak or Pharo. Writing new Morph has never been easier. Next, the behavior of Cuis is very predictable, it really ease the programming experience, it is notably important for me as I can only dedicate small chunks of time to develop Dr. Geo.

The port is still work-in-progress.



samedi 9 octobre 2021

Make it circular and contextual!

In Dr. Geo, to edit a sketch, the user frequently changes its editing mode: to construct point, segment, straight line, ray, line, move a geometric object, etc. There are tenth of editing modes. To switch from one mode to another one, the user selects a specific menu entry or click on a specific button. In the following paragraph, I discuss about a circular toolbar design.

jeudi 7 octobre 2021

Boucle et polygones réguliers

Cette sixième leçon reprend l'ensemble des notions vues précédemment : variable, affectation, boucle, tout en y ajoutant la transformation géométrique rotation. Néanmoins cette fois-ci dans le processus itératif, un objet géométrique référencé par une variable est transformé puis affecté à cette variable et ainsi de suite.

Dans une même ligne de code, la variable est ainsi utilisée pour produire un effet -- transformation géométrique d'un segment -- et recevoir le résultat de cet effet. La compréhension de ce processus est loin d'être évidente pour les élèves. Mais un événement inattendu servit de prétexte pour mieux comprendre ce code.

dimanche 26 septembre 2021

Boucle et Incrément

Une fois les notions de variable et de calcul littéral introduites, il est temps de présenter aux élèves le concept de boucle et d'incrément. Les deux associés permettent de construire des formes géométriques qui se répètent. C'est un concept important de la programmation, il n'est pas toujours évident pour les élèves.

dimanche 10 janvier 2021

Des variables pour calculer

Lors des leçons 2 et 3 précédentes la variable fut introduite pour désigner soit un objet complexe comme une figure géométrique ou soit une valeur numérique représentant les dimensions d'un rectangle ou d'un carré. Cette fois-ci la variable est utilisée pour faire des calculs simples. Cette notion de calcul avec des variables n'est pas évidente pour les jeunes élèves, à ce stade de leur scolarité en 9e du cycle d'orientation le calcul littéral n'a pas encore été introduit.