Well maybe it's true that Mondrian/Glamour make it easy to hack some tools which are not so easy to build cleanly with objects. I never finished (or have yet to finish) the clean implementation of Package Blueprints, it's not easy to find the right balance of responsibility between objects.
On 5 mai 2011, at 21:19, Tudor Girba wrote:
Hi,
On 5 May 2011, at 20:38, Stéphane Ducasse wrote:
On May 5, 2011, at 6:38 PM, Alexandre Bergel wrote:
I agree. But the very nice things, is to see the flow of the browser in only one method.
I can tell you don't do that! This is my main point against Glamour. You want object and not script programming.
This is not an issue and it actually never was. If you take a look, you will see that most browsers have their own class now and multiple small methods inside.
Cheers, Doru
In OB, that was not the case. No idea what get refreshed when you click on a node. You had to go on the definition of a node to see whether it does a refresh, and then, you had to check who has subscribed to the announcement.
It is true that people have tendency to write script in Mondrian and Glamour in a long method since these frameworks requires you to write blocks instead of creating classes. However, nothing prevent one from modularizing scripts.
well..... I will not comment on that. Do not write long methods.
Cheers, Alexandre
On 5 May 2011, at 01:56, Stéphane Ducasse wrote:
Alex and other glamour users
what is really important is that you do not write a long single method but a lot of little ones so that your code looks like normal smalltalk and not like a class = a script. I think that this is important for the future of glamour.
stef
Hi guys. Since several months, I wanted to create a little browser for learning VM and related stuff. I never did anything because I was lazy. Last week, I took Glamour and without knowing almost anything about it, in less than 3 hours (that includes everything, downloading the image, browsing examples, searching for something similar to what I need, and code the browsers I needed) , I come up with what I want to share with you.
+1 It is much faster to create a browser in glamour than with OB. I am not sure how Glamour scale, but it has impressed me for how easy it is to create a browser.
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We are all great at making mistakes."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon Denier