smalltalk Questions
2
I'm reading a book about Smalltalk (Charmond Liu's Smalltalk, Objects and Design). He talks about how messages work in Smalltalk using a HomeBudget object as an example of how to send a single mess...
Cockle asked 18/5, 2014 at 15:49
2
Solved
Reading the documentation of Pharo (Pharo By Example) the first difference is in the way that arrays are made.
A literal will follow this syntax
myArray := #(1 2 3)
while a dynamic array with
...
1
Solved
I need get an image from a URL and display in a view. How can do this in Cincom Smalltalk?
For example, I have this image URL:
http://news.bbcimg.co.uk/media/images/64001000/jpg/_64001280_63976...
1
Solved
The following Smalltalk code returns the error "context cannot return" if I execute them one by one. Anyone has an explanation please?
f := [ :x :y | ^x + y].
sum:= f value: 3 value: 6.
If I ...
1
Solved
6
Solved
Every time I see a discussion on software development, always someone suggests or exalts the qualities of Smalltalk, be it the beautiful language constructs or the better implementation of basicall...
5
Is it OK to leave the [ and ] out for messages like at:ifAbsent: if you don't need a full block?
In Smalltalk (and specifically Pharo/Squeak) I want to know if it is OK to leave out the "[" and "]" for the argument to messages like at:ifAbsent: if you don't need a block, like this;
^ bookTitl...
Optics asked 1/2, 2014 at 10:38
2
Is there any current data visualization or 2-d plot package for smalltalk (squeak or pharo) platform?
something similar to d3js or processing.org, or maybe sdl support to draw lines/dots on the sc...
0
I am trying to understand the uses of both. Already I have seen stuff on the SmalltalkHub doesn't often build on Squeak but always seems to work with Pharo. What are the advantages now in 201...
2
Solved
While working, I make lots of revisions. Whenever the code is in reasonable shape, I like to commit. But not all of those commits are interesting. So I make these commits to the local disk or a pri...
Bughouse asked 7/1, 2014 at 7:21
5
All the tools that i searched are 2005 or 2006 and so i dont even dare to try those. I understand that morphic is ok , but i am looking for something like Morphic Designer.
http://www.youtube.com/...
2
Solved
Context
As a university project we want to change the the pharo vm to use an object-table and see what happens.
We use a pharo-vm clone from github and VMMaker. Building the VM works fine.
To ge...
Herat asked 21/11, 2013 at 22:48
1
Solved
I have used pragmas in Pharo Smalltalk and have an idea about how they work and have seen examples for what they are used in Pharo.
My questions are:
what are pragmas conceptually,
to what const...
Sgraffito asked 13/11, 2013 at 17:18
2
Solved
I'm putting together a NLP experiment in which concepts are agents in a system designed to engender Emergent properties consisting of new concepts (here's a link for those who don't know what Emerg...
1
Solved
I have no clue how to create lines with Athens. I took a look at Cairo docs but I cant see how Athens is related to Cairo.
http://zetcode.com/gfx/cairo/basicdrawing/
In the above link I cant fin...
2
Solved
Wikipedia says Miller columns "resemble" something used earlier in Smalltalk and was independently invented by Miller. Who was first - Smalltalk or Miller?
If Smalltalk was first, then who e...
Axes asked 23/10, 2013 at 9:4
1
Solved
I'm new to Pharo and I'm having trouble grasping some concepts, specifically subclassResponsibilty.
I have the following objecttree:
AbstractDictionary
--TreeBasedDictionary (not abstract)
--Abst...
6
Solved
When discussing the evolution of computer languages, Alan Kay says that the single most important attribute of his Smalltalk is late binding; it gives the language its malleability and extensibilit...
Ley asked 15/12, 2008 at 3:32
2
Solved
Recently I've been exploring the world of smalltalk dialects and am very impressed (from here on in understand that when I write 'smalltalk' I'm referencing any of the modern smalltalk dialects - s...
Pediform asked 13/10, 2013 at 20:53
2
Solved
I have a class with instance variable 'a'.
When i create a new instance of the class using new, what is the order of the methods that are called?
How will the object know that it should call the ...
Tensity asked 27/9, 2013 at 1:45
8
Solved
I am a Rubyist that is just starting to dabble in Smalltalk and am trying to chose an implementation to experiment with. It seems like Squeak or Pharo would be a good choice, but I'm having trouble...
3
Solved
Is there a way to swap myself (this) with some other object in Java?
In Smalltalk we could write
Object subclass:myClass [
"in my method I swap myself with someone else"
swapWith:anObject [
se...
Cherokee asked 14/8, 2013 at 12:10
2
Solved
I am learning Squeak and I was wondering if there is a way to 'store' a message to be sent to an object.
For example I would like to be able to do the following :
Delegator>>performWith: ar...
4
Calling Jedi Masters of the Smalltalk universe,
I have knowledge of C++/Python/Perl and have been coding for 5+ years now.
I have to fork Scratch - MIT's Visual programming language to add suppor...
Cherriecherrita asked 18/1, 2012 at 8:34
8
Currently I am learning Smalltalk. I do this because I want to learn as much as I can in one week about a new programming language in order to improve my skills. Next week I will try somethin...
Counterstamp asked 20/1, 2009 at 12:10
© 2022 - 2024 — McMap. All rights reserved.