Post a Comment
I'm not into obj-c or f-script at all, but looking the code comparaison. It make me wonder what's the different or what's the advantage. If it's just the compile time and the possibility to embedded it, why change all the closure, if statement, etc..
Can we accomplish the same thing with pyObjc?
Yes, pyObjc can do similar things, but F-Script is specifically geared towards Obj-C programmers, whereas Python is a programming language for all.
F-script reduces a lot of the Obj-C syntax.
Consider this in Obj-C:
[NSMutableArray arrayWithObjects:@"Hi", @"mom", nil]
But in F-Script:
{'Hi', 'mom'}
Well, F-Script is a Smalltalk variant that has direct ties to the Cocoa frameworks, but one need not know Objective-C first. As such, the programming idioms in F-Script are completely different than those for Obj-C. (Similarities exist because Smalltalk influenced Objective-C's design.)
F-Script is geared toward Smalltalk programmers, just as PyObjC is geared toward Python users. Interestingly enough, Ruby coders will quickly feel at home using F-Script.






