pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Pharo by Example

AD
Arild Dyrseth
Tue, Feb 25, 2025 11:59 AM

The book 'Pharo by Example' is currently based on Pharo 9. Are there any
plans or initiatives to update this manual to reflect Pharo 12 or 13 ?

The book 'Pharo by Example' is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?
S
sducasseatwork@mailo.com
Wed, Feb 26, 2025 1:37 PM

Hi Arild

For the moment I’m focusing on the other books I have on the burner.
I wrote documentation about the new class definition and it should fit in the new version.
I was planning to update the book for Pharo 14 because it is a lot of work in fact.
S

The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?

Hi Arild For the moment I’m focusing on the other books I have on the burner. I wrote documentation about the new class definition and it should fit in the new version. I was planning to update the book for Pharo 14 because it is a lot of work in fact. S > > The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?
AD
Arild Dyrseth
Thu, Feb 27, 2025 8:13 PM

Hello Stephane,

Thank you very much for your swift reply. I understand that there are significant efforts involved in updating the book. In general, I find it well written and very helpful.

I ran into some issues when trying to apply the new method for testing in Pharo 12, with separate packages for the tests, which was not described in PbE9. So outlining this new test regime would certainly help me.

From my understanding, changes to the Pharo code are always added to the latest download as they are ready, rather than accumulating larger bulks of code for a subsequent controlled version update. Would a similar approach, with incremental updates, be something to consider for the PbE, or would that become rather messy ?

Kind regards,

Arild

Frå: sducasseatwork@mailo.com sducasseatwork@mailo.com
Send: onsdag 26. februar 2025 14:38
Til: Any question about pharo is welcome pharo-users@lists.pharo.org
Kopi: Arild Dyrseth ar-dyrs@online.no
Emne: Re: [Pharo-users] Pharo by Example

Hi Arild

For the moment I’m focusing on the other books I have on the burner.

I wrote documentation about the new class definition and it should fit in the new version.

I was planning to update the book for Pharo 14 because it is a lot of work in fact.

S

The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?

Hello Stephane, Thank you very much for your swift reply. I understand that there are significant efforts involved in updating the book. In general, I find it well written and very helpful. I ran into some issues when trying to apply the new method for testing in Pharo 12, with separate packages for the tests, which was not described in PbE9. So outlining this new test regime would certainly help me. From my understanding, changes to the Pharo code are always added to the latest download as they are ready, rather than accumulating larger bulks of code for a subsequent controlled version update. Would a similar approach, with incremental updates, be something to consider for the PbE, or would that become rather messy ? Kind regards, Arild Frå: sducasseatwork@mailo.com <sducasseatwork@mailo.com> Send: onsdag 26. februar 2025 14:38 Til: Any question about pharo is welcome <pharo-users@lists.pharo.org> Kopi: Arild Dyrseth <ar-dyrs@online.no> Emne: Re: [Pharo-users] Pharo by Example Hi Arild For the moment I’m focusing on the other books I have on the burner. I wrote documentation about the new class definition and it should fit in the new version. I was planning to update the book for Pharo 14 because it is a lot of work in fact. S The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?
S
sducasseatwork@mailo.com
Thu, Feb 27, 2025 8:48 PM

On 27 Feb 2025, at 21:13, Arild Dyrseth ar-dyrs@online.no wrote:

Hello Stephane,

Thank you very much for your swift reply. I understand that there are significant efforts involved in updating the book. In general, I find it well written and very helpful.

Thanks.
I imagine that it is feeding alos chaptGPT.

I ran into some issues when trying to apply the new method for testing in Pharo 12, with separate packages for the tests, which was not described in PbE9. So outlining this new test regime would certainly help me.

We just put the class in a separate packages for the core classes but you can keep them together in our package.
Now since package do not have scope in Pharo it does not change anything.

From my understanding, changes to the Pharo code are always added to the latest download as they are ready,
rather than accumulating larger bulks of code for a subsequent controlled version update.

We do not support incremental code stream because some of the changes could break or could not be expressed simply
as a stream of changes (we used to do that in Squeak 3.9 and it was painful).
So now each time we have a change, our build create a new image.

Would a similar approach, with incremental updates, be something to consider for the PbE, or would that become rather messy ?

For PBE what we could do is

  • create a separate repo
  • start to update the chapters (their will be really few changes)
    — this is identifying the changes and updating that is taking most of the time.
  • now the community could help doing it.

S

Kind regards,
Arild

Frå: sducasseatwork@mailo.com mailto:sducasseatwork@mailo.com <sducasseatwork@mailo.com mailto:sducasseatwork@mailo.com>
Send: onsdag 26. februar 2025 14:38
Til: Any question about pharo is welcome pharo-users@lists.pharo.org
Kopi: Arild Dyrseth ar-dyrs@online.no
Emne: Re: [Pharo-users] Pharo by Example

Hi Arild

For the moment I’m focusing on the other books I have on the burner.
I wrote documentation about the new class definition and it should fit in the new version.
I was planning to update the book for Pharo 14 because it is a lot of work in fact.
S

The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?

> On 27 Feb 2025, at 21:13, Arild Dyrseth <ar-dyrs@online.no> wrote: > > Hello Stephane, > > Thank you very much for your swift reply. I understand that there are significant efforts involved in updating the book. In general, I find it well written and very helpful. Thanks. I imagine that it is feeding alos chaptGPT. > I ran into some issues when trying to apply the new method for testing in Pharo 12, with separate packages for the tests, which was not described in PbE9. So outlining this new test regime would certainly help me. We just put the class in a separate packages for the core classes but you can keep them together in our package. Now since package do not have scope in Pharo it does not change anything. > From my understanding, changes to the Pharo code are always added to the latest download as they are ready, > rather than accumulating larger bulks of code for a subsequent controlled version update. We do not support incremental code stream because some of the changes could break or could not be expressed simply as a stream of changes (we used to do that in Squeak 3.9 and it was painful). So now each time we have a change, our build create a new image. > Would a similar approach, with incremental updates, be something to consider for the PbE, or would that become rather messy ? For PBE what we could do is - create a separate repo - start to update the chapters (their will be really few changes) — this is identifying the changes and updating that is taking most of the time. - now the community could help doing it. S > Kind regards, > Arild > > Frå: sducasseatwork@mailo.com <mailto:sducasseatwork@mailo.com> <sducasseatwork@mailo.com <mailto:sducasseatwork@mailo.com>> > Send: onsdag 26. februar 2025 14:38 > Til: Any question about pharo is welcome <pharo-users@lists.pharo.org> > Kopi: Arild Dyrseth <ar-dyrs@online.no> > Emne: Re: [Pharo-users] Pharo by Example > > Hi Arild > > For the moment I’m focusing on the other books I have on the burner. > I wrote documentation about the new class definition and it should fit in the new version. > I was planning to update the book for Pharo 14 because it is a lot of work in fact. > S > > >> >> The book ‘Pharo by Example’ is currently based on Pharo 9. Are there any plans or initiatives to update this manual to reflect Pharo 12 or 13 ?