discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PROPOSAL: Objective-C++


From: Nicola Pero
Subject: Re: PROPOSAL: Objective-C++
Date: Mon, 19 Nov 2001 05:06:42 +0000 (GMT)

> >    -- What is this 'blocks' feature in the POC compiler?
> > 
> 
> A block is a piece of code that can be passed as a parameter in a
> subroutine or a method.  

With the risk of being flamed, I must say - frankly - that I don't think
it's a good idea to add this to the GNU Objective-C compiler ...

It would make the language more complex, while one of the virtues is its
simplicity.

It would not really add anything you can't do by using C pointers to
functions - or selectors - and similar tools ... even if blocks might be
cooler for smalltalk people, they are one thing more to learn ... one more
tricky syntax to get familiar with ... one more concept ... and their
practical usage is quite limited - if any.

We don't want Objective-C to become crammed with new syntax like C++, so I
vote against it.

I'd vote for implementing real exception handling instead.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]