Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Sven Van Caekenberghe
> On 20 Jan 2016, at 08:07, stepharo wrote: > > What is funny is that in general people do not believe us :). > So I decided that I do not want to talk with type freaks. Yes, that was something I forgot to add: it seems that both sides are really very different and opposed to each other. I als

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Thierry Goubier
Le 20/01/2016 05:53, Martin Bähr a écrit : Excerpts from Sven Van Caekenberghe's message of 2016-01-19 22:09:44 +0100: http://games.greggman.com/game/dynamic-typing-static-typing/ In a dynamically typed language you write (a lot) l

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Dimitris Chloupis
I am a bit in the middle, I never cared or saw a practical benefit from static typing and neither I saw a practical benefit from using dynamic types. So its a matter that has little interest to me , but then I was never a language orientated person and I cared a lot more about IDEs and visual codin

[Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Dimitris Chloupis
So my question is this , I have a class with nil variables that are lazy initialised only when needed the first time and of course they keep their values from there on. Lets say I get the latest update from github via metacello over an older update that I already have inside the image , do those v

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Sven Van Caekenberghe
They remain nil. That is why #initialize on the class side is needed. You can call that explicitly in a post load script, or rely on the class loading mechanism that normally calls #initialize automatically when loading a class. The warning is: this only happens when the *source* code of the #

Re: [Pharo-users] [ANN] OSSubprocess v0.2.0 release

2016-01-20 Thread Hilaire
https://github.com/marianopeck/OSSubprocess/ -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Hilaire
Is it instance or class variables ? In both cases, there are unchanged. If class variables, Sven explain how to reinitialize. Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Ben Coman
On Wed, Jan 20, 2016 at 8:41 PM, Dimitris Chloupis wrote: > So my question is this , I have a class with nil variables that are lazy > initialised only when needed the first time and of course they keep their > values from there on. > > Lets say I get the latest update from github via metacello ov

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Dimitris Chloupis
ok thank you all , its now crystal clear that I need to follow Sven's approach, or maybe do it manually creating a reset method. On Wed, Jan 20, 2016 at 4:31 PM Dimitris Chloupis wrote: > Thank you for the info but I think I did not make myself clear because you > say "remain nil" > > Ok Imagine

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Sven Van Caekenberghe
> On 20 Jan 2016, at 15:34, Dimitris Chloupis wrote: > > Thank you for the info but I think I did not make myself clear because you > say "remain nil" > > Ok Imagine a class SomeClass and that class has a variable we will call > SomeVariable, class variable that is > , there is no class initi

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Dimitris Chloupis
Thank you for the info but I think I did not make myself clear because you say "remain nil" Ok Imagine a class SomeClass and that class has a variable we will call SomeVariable, class variable that is , there is no class initialize method, now that class has a method that is eventually called , so

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Dimitris Chloupis
no apologies owed, I just asked because I want to make sure Pharo wont do anything weird behind my back :) On Wed, Jan 20, 2016 at 4:39 PM Sven Van Caekenberghe wrote: > > > On 20 Jan 2016, at 15:34, Dimitris Chloupis > wrote: > > > > Thank you for the info but I think I did not make myself cle

[Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Damien Cassou
Hi, I would like to study the impact of adding optional parameters to keyword methods in Pharo. The goal of optional parameters is to facilitate the implementation of methods where some parameters are optional. For example, Seaside has: WAComponent>>request: aRequestString label: aLabelString

[Pharo-users] [ANN][Invite] Pharo Sprint 29 Jan

2016-01-20 Thread marcus . denker
We will organize a Pharo sprint / Moose dojo Friday, 11th September, starting at 10:00am. (Local Time Lille). It will be at the Inria Lille, Building B, third floor (RMoD offices) and at the University of Chile, Santiago de Chile. Remotely, you can join us on Slack or the IRC channel #pharo on i

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Martin Bähr
Excerpts from Dimitris Chloupis's message of 2016-01-20 12:36:37 +0100: > we have witnessed 3 great migrations of coders > 1) The migration from Assembly to C/C++ and other high level languages > 2) The migration from C++ as the dominant force of coding to Java > 3) The migration from static types

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2016-01-20 09:09:00 +0100: > What was also in the original article is the point that yes, refactoring is a > bit easier, more correct and more powerful in a static typed language, but > you need much more refactoring there because of all this extra c

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Dimitris Chloupis
indeed python and C++ are not just diffirent but two languages going the exact opposite directions, Python emphasizing speed of development , C++ emphasizing speed of execution. In C/C++ every decision must be based upon performance, this not how any other language works , even Java is not that wo

Re: [Pharo-users] [ANN][Invite] Pharo Sprint 29 Jan

2016-01-20 Thread Marcus Denker
> On 20 Jan 2016, at 16:37, marcus.den...@inria.fr wrote: > > > We will organize a Pharo sprint / Moose dojo Friday, 11th September, starting > at This is Friday, 29 Jan (next week). > 10:00am. (Local Time Lille). > > It will be at the Inria Lille, Building B, third floor (RMoD offi

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Offray Vladimir Luna Cárdenas
Hi, As a newbie, without a clear idea of where to apply this specifically I can say that seems pretty interesting. I have methods with several parameters (may be product of my newbie code), but making them optional seems an idea worthy to explore. Cheers, Offray On 20/01/16 10:08, Damien C

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Henrik Nergaard
“The warning is: this only happens when the *source* code of the #initialize methods changes. So sometimes, you will have to touch that method to force it.” Perhaps there should be an overload able method that decides whether or not to initialize the class, such that classes relying on reinitial

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Esteban A. Maringolo
2016-01-20 14:01 GMT-03:00 Offray Vladimir Luna Cárdenas : > Hi, > > As a newbie, without a clear idea of where to apply this specifically I can > say that seems pretty interesting. I have methods with several parameters > (may be product of my newbie code), but making them optional seems an idea >

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Cyril Ferlicot D.
Le 20/01/2016 16:08, Damien Cassou a écrit : > Hi, > > I would like to study the impact of adding optional parameters to > keyword methods in Pharo. The goal of optional parameters is to > facilitate the implementation of methods where some parameters are > optional. For example, Seaside has: > >

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Dimitris Chloupis
it would certainly save time from navigating through methods that more or less do the same thing. And of course dummy methods that they are there just to facilitate for less arguments. On Wed, Jan 20, 2016 at 7:42 PM Cyril Ferlicot D. wrote: > Le 20/01/2016 16:08, Damien Cassou a écrit : > > Hi,

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Jimmie Houchin
I will not argue whether or not Smalltalk and Lisp were right all along. However, the fact that Smalltalk and Lisp are where they are is not simply a matter of technical merit. There were many, many, political decisions made by the owners of the technology which participated in its successes an

Re: [Pharo-users] Updating a project and NIL class variables

2016-01-20 Thread Sven Van Caekenberghe
> On 20 Jan 2016, at 18:06, Henrik Nergaard wrote: > > “The warning is: this only happens when the *source* code of the #initialize > methods changes. So sometimes, you will have to touch that method to force > it.” > Perhaps there should be an overload able method that decides whether or not

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread David Allouche
> On 20 Jan 2016, at 19:27, Jimmie Houchin wrote: > > I will not argue whether or not Smalltalk and Lisp were right all along. > However, the fact that Smalltalk and Lisp are where they are is not simply a > matter of technical merit. There were many, many, political decisions made by > the o

Re: [Pharo-users] Use cases for methods with optional parameters

2016-01-20 Thread Hernán Morales Durand
Hi Damien, As far as I know this describes the Robert Hirschfeld's Convenience Methods pattern. I wrote a code generator package which generates this pattern through an API like this: CGStConvenienceMethods uniqueInstance setCleanTarget; parameterCount: 2; targetSelect

Re: [Pharo-users] Generating a binary package like PharoLauncher

2016-01-20 Thread Hernán Morales Durand
Hi Serge, I wrote a code generator package with uses Mustache and generates a NSIS script. As an example: CGNSISIPharo4AppInstaller uniqueInstance product: 'MyProduct'; identity: 'MyName'; version: '1.0.0'; url: 'http://www.google.com'; launcher: 'MyLau

[Pharo-users] Cleaning Phao topics

2016-01-20 Thread stepharo
Hi I will go over Pharo topics on github and also clean and sync the file on the Pharo web site and I will clean the topics. I will make a list with the ones that are not clear with no mentors in case some people want to rescue them but this list should be much better and I will clean it with