Skip to content

Commit

Permalink
Merge pull request #15 from kholbekj/patch-1
Browse files Browse the repository at this point in the history
Small language fixes
  • Loading branch information
Ducasse authored Jan 18, 2023
2 parents 0bcfbe0 + a4db054 commit e184a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chapters/Counter/Exo-Counter.pillar
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ To start off in Pharo, let's write a simple counter by following the steps given

Note that the development flow promoted by this little tutorial is ''traditional'' in the sense that you will define a package, a class, ''then'' define its instance variables, ''then'' define its methods, and ''then'' finally execute it. Now in Pharo, developers usually follow a different workflow called Extreme Test-Driven Development: they execute an expression that raises an error. These errors are caught by the Debugger and the developer codes directly in the debugger, allowing the system to define instance variables and methods on the fly for them.

Once you finish this tutorial, and you feel more confident in Pharo, we strongly suggest you do the exercise again using TDD: define test write, execute them, write the code to make the test pass and loop.
In Pharo you can also use Extreme TDD: define test write, execute them, write the code in the debugger to make the test pass. Extreme TDD is a super powerful approach. However, you cannot really get the real feel without actually do it by yourself. There is another video in the Pharo mooc showing this powerful approach of coding. We really urge you to have a look at it and practice.
Once you finish this tutorial, and you feel more confident in Pharo, we strongly suggest you do the exercise again using TDD: define and write a test, execute it, write the code to make the test pass and loop.
In Pharo you can also use Extreme TDD: define and write atest, execute it, write the code in the debugger to make the test pass. Extreme TDD is a super powerful approach. However, you cannot really get the real feeling of it without actually doing it yourself. There is another video in the Pharo mooc showing this powerful approach of coding. We really urge you to have a look at it and practice.

!!!Our use case

Expand Down

0 comments on commit e184a12

Please sign in to comment.