Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread john pfersich
+100 // Encrypted email at jgpfers...@protonmail.com Web: www.objectnets.net and www.objectnets.org > On Jul 11, 2018, at 18:20, Richard Sargent > wrote: > > Tim Mackinnon wrote >> Hi everyone, something I’ve meant to ask over the years, as I’ve seen lots >> of variation an

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Tim Mackinnon
This payer/payee example is exactly what I was thinking about, and I’ve tended to do as Dennis suggests and use a type suffix on the name - and wondered if that was what most people do. I’ll certainly check what Andreas says on the topic. Tim Sent from my iPhone On 12 Jul 2018, at 06:31, Den

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Dennis Schetinin
> > It depends on the current level of abstraction. If you are operating at a > much higher level, say transfering > money between two accounts, you would do: > #transferMoney from: aPayer to: aPayee > where both aPayer and aPayee could be anAccountHolder Why not #transferMoney from: payerAcc

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread K K Subbu
On Thursday 12 July 2018 03:54 AM, Tim Mackinnon wrote: I was taught {“a”/“an”}DataType, so it would be: #name: aString It depends on the current level of abstraction. At the lowest levels, it is okay to use basic types like aString since classes (types) define behavior. If you are operating

Re: [Pharo-users] Email Google API for pharo

2018-07-11 Thread oswall arguedas
Thank you very much for your answers. I will work on it. I give them feedback. Thanks Oswall De: Pharo-users en nombre de Sean P. DeNigris Enviado: miércoles, 11 de julio de 2018 15:39:53 Para: pharo-users@lists.pharo.org Asunto: Re: [Pharo-users] Email Google

Re: [Pharo-users] XML support for pharo

2018-07-11 Thread oswall arguedas
Thanks Franz and Monty. I'm working on it, everything is going very well. The feedback when I master it. Oswall De: Pharo-users en nombre de monty Enviado: miércoles, 11 de julio de 2018 03:32 Para: pharo-users@lists.pharo.org Asunto: Re: [Pharo-users] XML su

Re: [Pharo-users] XML support for pharo

2018-07-11 Thread oswall arguedas
Thanks Franz and Monty. I'm working on it, everything is going very well. The feedback when I master it. Oswall De: Pharo-users en nombre de monty Enviado: miércoles, 11 de julio de 2018 03:32:35 Para: pharo-users@lists.pharo.org Asunto: Re: [Pharo-users] XML

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Richard Sargent
Tim Mackinnon wrote > Hi everyone, something I’ve meant to ask over the years, as I’ve seen lots > of variation and was taught something else in the day... > > What is the suggested way of naming parameters? > > I was taught {“a”/“an”}DataType, so it would be: > > #name: aString > > Which works

Re: [Pharo-users] Thoughts on mini Smalltalk exercises

2018-07-11 Thread Ben Coman
On 11 July 2018 at 22:43, Tim Mackinnon wrote: > Hi - I’m trying to help Sam kickstart Pharo working Ian the exercism > platform. For those less familiar, exercism is a platform with a series of > exercises that users/students “checkout” and then run a test to guide them > through completing th

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Sean P. DeNigris
Paul DeBruicker wrote > It also seems like a "how much milk do you like in your coffee?" choice > where the tradeoffs between one vs the other isn't high and the code in > action will let you know whether you've got it right. +1. I also use both. My heuristic is for shorter methods, and methods

Re: [Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Paul DeBruicker
I generally go for intention revealing (e.g. fullName) because the class of the parameter can change arbitrarily. e.g. your aString might become a Name object that can answer something useful when you know just the first or family name. But I also mostly write code for my own consumption. If t

[Pharo-users] Naming parameters - conventions?

2018-07-11 Thread Tim Mackinnon
Hi everyone, something I’ve meant to ask over the years, as I’ve seen lots of variation and was taught something else in the day... What is the suggested way of naming parameters? I was taught {“a”/“an”}DataType, so it would be: #name: aString Which works ok (although falls apart if you refact

Re: [Pharo-users] Thoughts on mini Smalltalk exercises

2018-07-11 Thread Tim Mackinnon
Hi guys, they’re all great ideas - but I guess I should have added the caveat - “that you can easily test”. It sounds like maybe using class methods puts it closer to the simpler camp you are suggesting - and I would like to push the idea of using the debugger to create the missing method (a un

Re: [Pharo-users] Email Google API for pharo

2018-07-11 Thread Sean P. DeNigris
Peter Uhnák wrote > I've used it last year or so and it was very nice to use. Anything public we can use for inspiration? - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Thoughts on mini Smalltalk exercises

2018-07-11 Thread Sven Van Caekenberghe
> On 11 Jul 2018, at 22:17, Hilaire wrote: > > Le 11/07/2018 à 16:43, Tim Mackinnon a écrit : >> I can see pro’s/con’s either way - but wondering what others think. > > IMHO, the simpler the better, particularly for users with no knowledge > on Pharo. > > Hello world could be class-less just

Re: [Pharo-users] Thoughts on mini Smalltalk exercises

2018-07-11 Thread Hilaire
Le 11/07/2018 à 16:43, Tim Mackinnon a écrit : > I can see pro’s/con’s either way - but wondering what others think. IMHO, the simpler the better, particularly for users with no knowledge on Pharo. Hello world could be class-less just: Transcript show: 'Hello world' Hilaire -- Dr. Geo http://d

Re: [Pharo-users] Request for Windows test

2018-07-11 Thread Ben Coman
On 11 July 2018 at 18:19, Hilaire wrote: > Hi, > > A Windows user reported to me difficulty to start Dr. Geo. > > Although I had success to run it in a Windows system, I will be glad if > some of you would mind testing it on their windows system, and report to > me success or failure along the use

[Pharo-users] Thoughts on mini Smalltalk exercises

2018-07-11 Thread Tim Mackinnon
Hi - I’m trying to help Sam kickstart Pharo working Ian the exercism platform. For those less familiar, exercism is a platform with a series of exercises that users/students “checkout” and then run a test to guide them through completing the code to then progress to the next challenge. There is

Re: [Pharo-users] Changing a BaselineOf... to include one more package

2018-07-11 Thread Andrew P. Black
Hi Guillermo, Thanks for the explanation. I guess that I really don't have much idea how this baseline stuff is supposed to work, so when it fails, I don't know where to look. My initial question was about why iceberg (or Metacello?) was looking in the wrong directory, but that seems to have

Re: [Pharo-users] Request for Windows test

2018-07-11 Thread webwarrior
Windows finds DrGeo.exe suspicious. I guess the problem will disappear when enough users have launched it. But it's usable anyway, you just have to click through the annoying dialog. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Which command-line handlers do you use most?

2018-07-11 Thread Herbert Vojčík
Herbert Vojčík wrote on 11. 7. 2018 14:48: Damien Pollet wrote on 9. 7. 2018 17:38: Hi all, I'm starting to port / reimplement existing command line handlers using Clap. There's a dozen, but I wonder which ones are the most relied upon, because it's a good opportunity for refactoring the

Re: [Pharo-users] Which command-line handlers do you use most?

2018-07-11 Thread Herbert Vojčík
Damien Pollet wrote on 9. 7. 2018 17:38: Hi all, I'm starting to port / reimplement existing command line handlers using Clap. There's a dozen, but I wonder which ones are the most relied upon, because it's a good opportunity for refactoring the command line API as a whole and simplifying

Re: [Pharo-users] Zinc + HTTPS does not check for self signed certificates.

2018-07-11 Thread Sven Van Caekenberghe
Hi Julián, Although we have TLS/SSL support (in the form of Zodiac, Zinc is just a user offering HTTP(S) on top), it is currently all dependent on a plugin that is different on all platforms and mostly lacks support for certificates. It is what it is. I know that some developers are working on

[Pharo-users] Request for Windows test

2018-07-11 Thread Hilaire
Hi, A Windows user reported to me difficulty to start Dr. Geo. Although I had success to run it in a Windows system, I will be glad if some of you would mind testing it on their windows system, and report to me success or failure along the used Windows system. -> http://www.drgeo.eu/download Th

Re: [Pharo-users] XML support for pharo

2018-07-11 Thread monty
This is the latest version of the XML/XPath Scraping Booklet: ___ montyos.wordpress.com

[Pharo-users] Tonel class comments

2018-07-11 Thread Guillermo Polito
Hi all, Since people have been asking how to use Tonel, I've took a look at it and have written down two class comments for both the reader and the writer. I'll push them to Tonel and schedule soon a patch release with it. Here are the class comments so people can see them/discusses them. Please,

Re: [Pharo-users] Email Google API for pharo

2018-07-11 Thread Peter Uhnák
+1. I've used it last year or so and it was very nice to use. On Wed, Jul 11, 2018 at 2:59 AM, Ben Coman wrote: > On 11 July 2018 at 05:53, oswall arguedas wrote: > > Greetings community of pharo > > > > I am working with the google API to process gmail emails, read, modify, > > archive, send.

Re: [Pharo-users] XML support for pharo

2018-07-11 Thread Franz Josef Konrad
Am 10.07.2018 um 23:51 schrieb oswall arguedas: Greetings community of pharo I have to process many XML files, to convert them to objects and incorporate them into a database and create an application in seaside. In pharo I have found XmlParser, however I have not found documentation to use