UpdatedPharoByExample | A version of Pharo by Example for Pharo | Learning library
kandi X-RAY | UpdatedPharoByExample Summary
kandi X-RAY | UpdatedPharoByExample Summary
Pharo by Example (vol 1) is a practical introduction for Pharo, a Smalltalk-inspired programming language, IDE and live coding enviroment. This book is an updated version of Pharo By Example for Pharo 1.4. This version focuses on the latest stable version of Pharo (Pharo 5.0, at the time of writing). You can find more info and documentation about Pharo at Pharo.org.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of UpdatedPharoByExample
UpdatedPharoByExample Key Features
UpdatedPharoByExample Examples and Code Snippets
Community Discussions
Trending Discussions on UpdatedPharoByExample
QUESTION
I have been following the example of making a class in Pharo from the following link: https://ci.inria.fr/pharo-contribution/job/UpdatedPharoByExample/lastSuccessfulBuild/artifact/book-result/PharoObjectModel/PharoObjectModel.html#fig:colorInstanceClassSide
It is the example of making a Dog and a Hyena class. First I created a package called TestC and in the Instance class I have made the following:
For what I know, and correct me if I am wrong, the instance side is where I create the methods that will work when I instantiate an object while the class side it does not need an object to be created to function; just like a static method class in Java.
The first question that I have at this point is why after Accepting the Changes it stills appear the ! symbol in the left part of my classes?
According to the tutorial then I should put the following code:
...ANSWER
Answered 2017-Dec-31 at 15:23First Question
The exclamation mark !
in front of the class is an invitation to click on it. In this case it will remind you that classes are supposed to have comments (for the sake of documentation).
Digression
Every class defines both the shape (or structure) and the behavior of its instances. The shape is given by the instance variables in the class creation message, such as
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install UpdatedPharoByExample
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page