I'm trying to get up to date with unread messages from my absence.
I've found an interesting post by Mustafa.
These are the most relevant quotes:
Spanish (original):
"Cuando aparecio HMG4 vi que sinceramente no podia volverme a reciclar y continuaba con HMG 3 o desistia en este entorno de programación."
English (translated by me):
"When HMG4 appeared, I've understood that I couldn't recycle myself again and then I should continue with HMG3 or desist of this programming environment"
Another quote of the same post:
Spanish:
"Ya que no veo que HMG4 ,sea estructurada como HMG3 como lo está haciendo Marinas-Gui, seguiré con HMG3 , para mi es una maravilla."
English (translated by me - not literal):
"Since I not see that HMG4 be structured like HMG3 (as Marinas-Gui is doing) I'll keep with HMG3, for me is wonderful".
When I've started HMG-OBJECTS (later HMG.4) My goal was to build a library with an OOP heart and a Semi-OOP 'dress' on top of it. In such way that HMG users (all of them semi-OOP programmers) could still feeling 'at home'.
But, why Mustafa (and other HMG users) not feel good with HMG.4?
Should be no reason for that, since the semi-OOP layer is there and working pretty well.
You can really code HMG.4 almost exactly as you've done in MiniGUI and HMG 2.x/3.x.
ie:
Code: Select all
#include "hmg.ch"
FUNCTION Main
DEFINE MAINWINDOW oWindow
Row 10
Col 10
Width 400
Height 400
Title 'Nice OOP Demo!!!'
OnInit oWindow:Center()
END WINDOW
ACTIVATE WINDOW oWindow
RETURN NIL
I guess that the samples is the answer.
In fact, not the samples themselves, but how are they organized (of course I've organized them this way, so I'm not blaming anybody ).
When an HMG users, take a look at samples, he will find a lot of OOP samples and he could think that HMG.4 is only that.
So, my proposition is to reorganize the samples in two folders. One called 'samples.oop' and other called 'samples-semi-oop'.
Then, simply moving all semi-oop samples together, the HMG users will find that they can fell good at HMG.4 too.
If you agree, we can do it.
I'll wait for your opinions...