smalltalk
Smalltalk and Turkish
I realized one important thing which pulls me towards Smalltalk, subconsciously. Smalltalk's syntax resembles Turkish in some ways. I will try to show it via examples.
The first thing which seperates Turkish from other English like languages is that verbs are put at the end of sentences, not after the subject. In English, the order of sentence components is:
Subject verb object.
In Turkish:
Subject object verb.
In Turkish, you can join subject and verb into 1 word. In that case it is like:
Object verb.
When having a dynamic language helps
I just committed unix-domain sockets (AF_UNIX) for GNU Smalltalk.
GNU Smalltalk's socket library is more or less based on the java.net library, but java.net does not have AF_UNIX sockets! Okay, they are not portable to Windows, but you'd expect someone to have written an extension library for that. But no, there is none. Why?
It turns out that there are two problems.
If you want to understand blocks, then learn Smalltalk
When I was taking a look at Ruby to learn what is it like, I faced a concept called "block". But I never got it bacause you could do everything with a block, also with traditional methods you learned so far. So I asked myself, why would a human being invent something like block? Maybe this is because of the people who tries to explain the blocks or because of my low IQ but this was the case for me when learning Ruby.
Hi all
Hi all,
My name is Giuseppe Luigi Punzi, and I'm 25 years old.
I live in Murcia, Spain, and I'm software developer since 12 years old.
My main experience comes from Delphi, .NET, OPL and Oval (this is for develop for Psion platform), with knowledge over Interbase, Firebird, Oracle, SQLServer, Access, VB, and so on. (No, I don't have C/C++ experience, and I think I don't need it)
Collection idioms in GNU Smalltalk (and problems thereof)
Peter Norvig's blog showed an example of a toy spell checker in Python, which Michael Davies converted to Smalltalk. This problem is interesting and Michael's solution is actually quite idiomatic.
I'll show a couple more tricks that can help decrease the number of lines.
