You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref="https://rmod-pharo-mooc.lille.inria.fr/AdvancedDesignMooc/Videos/M01_S1.mp4" target="_blank" rel="noopener noreferrer">Essence of dispatch: Taking Pharo Booleans as Example</a></li>
187
186
<li><ahref="https://rmod-pharo-mooc.lille.inria.fr/AdvancedDesignMooc/Videos/M01_S2_V2.mp4" target="_blank" rel="noopener noreferrer">Essence of Dispatch: Let the receiver decide</a></li>
188
187
<li><ahref="http://rmod-pharo-mooc.lille.inria.fr/AdvancedDesignMooc/Videos/M06_S1.mp4" target="_blank" rel="noopener noreferrer">A double dispatch starter: Stone Paper Scissors</a></li>
189
188
<li><ahref="http://rmod-pharo-mooc.lille.inria.fr/AdvancedDesignMooc/Videos/M06_S2.mp4" target="_blank" rel="noopener noreferrer">Double dispatch: Does not have to be symmetrical</a></li>
<ahref="./exercises/CountryFlag.pdf" target="_blank" rel="noopener noreferrer">[PDF]</a> In this tutorial, you will learn how to draw a country shape using Roassal (a visualization engine). In a second step, you will use an HTTP client to grab the flag of the country based on its unique international id. You will then define a small visual application using the Spec UI builder and it will display the country, its ID, and flag.
<h4>3. Implementation of True and False in Pharo</h4>
245
251
252
+
<p><b>Exercise:</b> Implement boolean objects <code>true</code> and <code>false</code> (you can call them "t" and "f" or "myTrue" and "myFalse" to make sure that they don't conflict with the existing boolean objects in the image) that understand the following messages: <code>not, and:, or:, ifTrue:, ifFalse:</code>. You are not allowed to use conditionals (if-else) in your implementation.</p>
253
+
254
+
<p><b>Solution:</b><ahref="https://rmod-pharo-mooc.lille.inria.fr/AdvancedDesignMooc/Videos/M01_S1.mp4" target="_blank" rel="noopener noreferrer">Essence of dispatch: Taking Pharo Booleans as Example</a></p>
0 commit comments