Ben Coman schreef op 31-3-2014 2:44:
Ben Coman wrote:
Roelof Wobben wrote:
Ben Coman schreef op 30-3-2014 20:12:
Roelof Wobben wrote:
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After tha
"Your days, as scientist are counted, if you refuse to accept anything
new.."
same words, i think, can be applied to programming.
On 30 March 2014 22:31, Esteban A. Maringolo wrote:
> When I first met Smalltalk, I found its syntax to be so disruptive to
> my mindset that made me want to learn i
Ben Coman wrote:
Roelof Wobben wrote:
Ben Coman schreef op 30-3-2014 20:12:
Roelof Wobben wrote:
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After that I added this as described in the boo
Roelof Wobben wrote:
Ben Coman schreef op 30-3-2014 20:12:
Roelof Wobben wrote:
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After that I added this as described in the book.
shout
^ self
When I first met Smalltalk, I found its syntax to be so disruptive to
my mindset that made me want to learn it (I was coding Perl at that
time). But not everybody feels the same. To some it is scary. Or
unintelligible.
It is true that many C like languages have hundreds of constructs, but
it is al
For me Smalltalk and Lisp are the easiest languages. In smalltalk everything is
an object and in lisp everything is a list. And in other languages you have to
learn 100500 language constructs and hacks.
Uko
On 30 Mar 2014, at 20:52, kilon alios wrote:
> Smalltalk is the easiest language I hav
On 30 Mar 2014, at 17:34, MartinW wrote:
> Igor Stasenko wrote
>> u you u no draw morphs by athens :)
>>
>> - use AthensWrapMorph.
>> put as many submorphs into it, and they all will be drawn via Athens.
>> eventually, the need in wrap morph will disappear once WorldMorph (the
>> root
>> of all
Smalltalk is the easiest language I have learned so far. Python coming
second and quite close.
I also find Squeak by Example and Pharo by Example very good introductory
guides. Smalltalk By Example is even better if you want to know more about
the language.
Smalltalk is similar to Lisp in the sen
Ben Coman schreef op 30-3-2014 20:12:
Roelof Wobben wrote:
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After that I added this as described in the book.
shout
^ self asUppercase. "!"
But
Roelof Wobben wrote:
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After that I added this as described in the book.
shout
^ self asUppercase. "!"
But still the testrunner gives that there
2014-03-30 18:55 GMT+01:00 Roelof Wobben :
> testShout
> self assert: ('Don''t panic' shout = 'DON""T PANIC!')
>
You properly doubled the single quote inside the first string. However, you
used two double quotes inside the second string; replace them with two
single quotes.
You also have an ex
I came across this article a few days ago. Thought it might be of
interest to some.
http://www.eli.sdsu.edu/courses/spring01/cs635/readingSmalltalk.pdf
Roelof Wobben wrote:
Esteban Lorenzano schreef op 30-3-2014 16:31:
you are using a dot:
self DOT assert: is wrong syntax.
you need just a space:
self assert:
Esteban
On 30 Mar 2014, at 11:26, Roelof Wobben wrote:
Hello,
I have to make my own method but when I enter this:
testShout
se
Hello,
I trying to make the make you own method work.
So I first I added this :
testShout
self assert: ('Don''t panic' shout = 'DON""T PANIC!')
After that I added this as described in the book.
shout
^ self asUppercase. "!"
But still the testrunner gives that there is a failing test on t
2014-03-30 15:26 GMT+01:00 Roelof Wobben :
> testShout
> self. Nothing more expected ->assert: ( 'Do not panic' shout = "DO NO
> PANIC")
>
There are some things wrong with the second line:
- there´s a period after self, you must remove it
- you wrote NO instead of NOT, so the the assert
Esteban Lorenzano schreef op 30-3-2014 16:31:
you are using a dot:
self DOT assert: is wrong syntax.
you need just a space:
self assert:
Esteban
On 30 Mar 2014, at 11:26, Roelof Wobben wrote:
Hello,
I have to make my own method but when I enter this:
testShout
self.assert: ( 'Do not p
Igor Stasenko wrote
> u you u no draw morphs by athens :)
>
> - use AthensWrapMorph.
> put as many submorphs into it, and they all will be drawn via Athens.
> eventually, the need in wrap morph will disappear once WorldMorph (the
> root
> of all morphs) start using Athens directly.
Ok, thank you,
Who would use Japanese-named methods in a Pharo image ?
If the only users of an MIT Curl markup package for AidaWEB or Seaside were
at SCSK in Tokyo, why put those methods in English ? Their docs are now in
Japanese anyway ... as are their programming discussions ( www.curlap.com )
On 30 March
the readme in the Pharo 3.0beta tested says
This distribution was built March 27, 2014.
and the files of note are 03-27 with the exe 12-07
On 30 March 2014 11:44, Robert Shiplett wrote:
> Pharo 3.0 beta Latest update: #30804 test of WideString Japanese instance
> method : the method name
Pharo 3.0 beta Latest update: #30804 test of WideString Japanese instance
method : the method name fails to paste into ProfStef.
Any suggestion ? Do a FORCE on the font in system settings and relaunch a
ProfStef with >>go in a new Workspace ?
Anyone else testing non-Latin-15 just now ?
On 30 Ma
you are using a dot:
self DOT assert: is wrong syntax.
you need just a space:
self assert:
Esteban
On 30 Mar 2014, at 11:26, Roelof Wobben wrote:
> Hello,
>
> I have to make my own method but when I enter this:
>
> testShout
> self.assert: ( 'Do not panic' shout = "DO NO PANIC")
>
> The
As I noted in the WP discussion post, When I flip the current Pharo 3.0
beta to Mincho and Japanese, I have to open a new browser to be able to use
Japanese even if I use FORCE ... is that the intended behavior ?
Or should instances of open windows notice an update to Fonts and refresh ?
cheers
Hello,
I have to make my own method but when I enter this:
testShout
self.assert: ( 'Do not panic' shout = "DO NO PANIC")
The editor makes this :
testShout
self. Nothing more expected ->assert: ( 'Do not panic' shout = "DO NO
PANIC")
And I do not get a message that shout does not exist.
Thanks,
I have finished this tutorial and will go on with the first book.
I wonder if there are some kind of challenges so I can pratice
more with Smalltalk.
Roelof
Mark Rizun schreef op 30-3-2014 13:48:
Or you may even print it, and the result (numbers from 1 to 100) will
appear in Transcript window.
2014-03-30 14:48 GMT+03:00 Mark Rizun :
> Hello,
>
> You should open Transcript, and than do it, instead of print it.
>
> Mark
>
>
> 2014-03-30 14:45 GMT+03:00 Roelof Wobben :
>
> Hello,
>>
>> When
Hello,
You should open Transcript, and than do it, instead of print it.
Mark
2014-03-30 14:45 GMT+03:00 Roelof Wobben :
> Hello,
>
> When I select this part:
>
> 1 to: 100 do:
> [:i | Transcript show: i asString; cr ].
>
> And do print it.
>
> I only see 1 where I expected to see all the num
Hello,
When I select this part:
1 to: 100 do:
[:i | Transcript show: i asString; cr ].
And do print it.
I only see 1 where I expected to see all the numbers from 1 till 100.
What went wrong ?
Roelof
Ben Coman schreef op 30-3-2014 4:59:
Roelof Wobben wrote:
p...@highoctane.be schreef op 29-3-2014 16:36:
Get the morph examples in the pharoextras smalltallhub repo.
Some please point the correct location as I am on a mobe.
Thanks,
Can then also someone tell me how I can load the exampl
28 matches
Mail list logo