Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.misc > #40 > unrolled thread
| Started by | AD <isquat@gmail.com> |
|---|---|
| First post | 2011-03-02 12:34 -0800 |
| Last post | 2011-03-02 22:39 +0000 |
| Articles | 11 — 4 participants |
Back to article view | Back to comp.sys.mac.misc
switch() feature request AD <isquat@gmail.com> - 2011-03-02 12:34 -0800
Re: switch() feature request Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> - 2011-03-02 15:55 -0500
Re: switch() feature request AD <isquat@gmail.com> - 2011-03-03 16:37 -0800
Re: switch() feature request Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> - 2011-03-04 17:30 -0500
Re: switch() feature request Jolly Roger <jollyroger@pobox.com> - 2011-03-04 17:34 -0600
Re: switch() feature request Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> - 2011-03-04 08:31 -0500
Re: switch() feature request Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> - 2011-03-04 08:23 -0500
Re: switch() feature request Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> - 2011-03-06 09:34 -0500
Re: switch() feature request Chris Ridd <chrisridd@mac.com> - 2011-03-02 21:12 +0000
Re: switch() feature request AD <isquat@gmail.com> - 2011-03-02 17:12 -0800
Re: switch() feature request Jolly Roger <jollyroger@pobox.com> - 2011-03-02 22:39 +0000
| From | AD <isquat@gmail.com> |
|---|---|
| Date | 2011-03-02 12:34 -0800 |
| Subject | switch() feature request |
| Message-ID | <6eb682bd-6f8d-4eee-92bf-6ca8882cff4e@l14g2000pre.googlegroups.com> |
Folks, could you add support for switch on pointers and NSStrings* in
addition to constants in the next version of objc?
Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
chain or
it could be optimized through a NSMutableDictionary since i don't
picture an iphone nano without some core frameworks anyway
(assuming apps will be even allowed on iphone nano)
but basically I want my code uncluttered and free
from long if else if else chains.
tnx
[toc] | [next] | [standalone]
| From | Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> |
|---|---|
| Date | 2011-03-02 15:55 -0500 |
| Message-ID | <gavrilo.prinzip-381E0F.15552202032011@news.astraweb.com> |
| In reply to | #40 |
In article
<6eb682bd-6f8d-4eee-92bf-6ca8882cff4e@l14g2000pre.googlegroups.com>,
AD <isquat@gmail.com> wrote:
> Folks, could you add support for switch on pointers and NSStrings* in
> addition to constants in the next version of objc?
> Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> chain or
> it could be optimized through a NSMutableDictionary since i don't
> picture an iphone nano without some core frameworks anyway
> (assuming apps will be even allowed on iphone nano)
> but basically I want my code uncluttered and free
> from long if else if else chains.
Good idea. Consider it done.
--
Next year in Sarajevo ...
[toc] | [prev] | [next] | [standalone]
| From | AD <isquat@gmail.com> |
|---|---|
| Date | 2011-03-03 16:37 -0800 |
| Message-ID | <e2e4df2a-9c04-43fc-9c49-4437893bcfc5@j35g2000prb.googlegroups.com> |
| In reply to | #41 |
On Mar 2, 12:55 pm, Prinzip Gavrilo
<gavrilo.prin...@ebrubrlegargle.rlg> wrote:
> In article
> <6eb682bd-6f8d-4eee-92bf-6ca8882cf...@l14g2000pre.googlegroups.com>,
>
> AD <isq...@gmail.com> wrote:
> > Folks, could you add support for switch on pointers and NSStrings* in
> > addition to constants in the next version of objc?
> > Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> > chain or
> > it could be optimized through a NSMutableDictionary since i don't
> > picture an iphone nano without some core frameworks anyway
> > (assuming apps will be even allowed on iphone nano)
> > but basically I want my code uncluttered and free
> > from long if else if else chains.
>
> Good idea. Consider it done.
Tnx. While you are at it you could ponder promoting some data
structures from core framework
into the language itself. Think Python..
NSMutableDictionary is probably a good start.
[toc] | [prev] | [next] | [standalone]
| From | Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> |
|---|---|
| Date | 2011-03-04 17:30 -0500 |
| Message-ID | <gavrilo.prinzip-94E89C.17305804032011@news.mixmin.net> |
| In reply to | #48 |
In article <e2e4df2a-9c04-43fc-9c49-4437893bcfc5@j35g2000prb.googlegroups.com>, AD <isquat@gmail.com> wrote: > Tnx. While you are at it you could ponder promoting some data > structures from core framework > into the language itself. Think Python.. Okay. http://www.youtube.com/watch?v=FKeQpeDkoGc&feature=related -- Next year in Sarajevo ...
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2011-03-04 17:34 -0600 |
| Message-ID | <jollyroger-7D01AE.17340404032011@news.individual.net> |
| In reply to | #48 |
In article
<e2e4df2a-9c04-43fc-9c49-4437893bcfc5@j35g2000prb.googlegroups.com>,
AD <isquat@gmail.com> wrote:
> On Mar 2, 12:55 pm, Prinzip Gavrilo
> <gavrilo.prin...@ebrubrlegargle.rlg> wrote:
> > In article
> > <6eb682bd-6f8d-4eee-92bf-6ca8882cf...@l14g2000pre.googlegroups.com>,
> >
> > AD <isq...@gmail.com> wrote:
> > > Folks, could you add support for switch on pointers and NSStrings* in
> > > addition to constants in the next version of objc?
> > > Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> > > chain or
> > > it could be optimized through a NSMutableDictionary since i don't
> > > picture an iphone nano without some core frameworks anyway
> > > (assuming apps will be even allowed on iphone nano)
> > > but basically I want my code uncluttered and free
> > > from long if else if else chains.
> >
> > Good idea. Consider it done.
>
> Tnx. While you are at it you could ponder promoting some data
> structures from core framework
> into the language itself. Think Python..
>
> NSMutableDictionary is probably a good start.
Absolutely. We'll get right on that. I assume you've already deposited
the development fee into the ObjC Dev Fund bank account?
--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.
JR
[toc] | [prev] | [next] | [standalone]
| From | Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> |
|---|---|
| Date | 2011-03-04 08:31 -0500 |
| Message-ID | <gavrilo.prinzip-A998BC.08310104032011@news.mixmin.net> |
| In reply to | #48 |
In article <e2e4df2a-9c04-43fc-9c49-4437893bcfc5@j35g2000prb.googlegroups.com>, AD <isquat@gmail.com> wrote: > Tnx. While you are at it you could ponder promoting some data > structures from core framework > into the language itself. Think Python.. Ah, okay, we've gotten this far with the project: http://www.youtube.com/watch?v=ol5Dfs7jqFI&NR=1 -- Next year in Sarajevo ...
[toc] | [prev] | [next] | [standalone]
| From | Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> |
|---|---|
| Date | 2011-03-04 08:23 -0500 |
| Message-ID | <gavrilo.prinzip-354B7B.08232004032011@news.mixmin.net> |
| In reply to | #48 |
In article <e2e4df2a-9c04-43fc-9c49-4437893bcfc5@j35g2000prb.googlegroups.com>, AD <isquat@gmail.com> wrote: > Tnx. While you are at it you could ponder promoting some data > structures from core framework > into the language itself. Think Python.. Ah, okay, we've gotten this far with the project: http://www.youtube.com/watch?v=ol5Dfs7jqFI&NR=1 -- Next year in Sarajevo ...
[toc] | [prev] | [next] | [standalone]
| From | Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> |
|---|---|
| Date | 2011-03-06 09:34 -0500 |
| Message-ID | <gavrilo.prinzip-8D059C.09340306032011@news.astraweb.com> |
| In reply to | #62 |
In article <gavrilo.prinzip-354B7B.08232004032011@news.mixmin.net>, Prinzip Gavrilo <gavrilo.prinzip@ebrubrlegargle.rlg> wrote: Oops. Sorry about the double posts. I should believe my newsreader when it tells me that a post was "already sent to the server," even if it seems to have timed out. -- Next year in Sarajevo ...
[toc] | [prev] | [next] | [standalone]
| From | Chris Ridd <chrisridd@mac.com> |
|---|---|
| Date | 2011-03-02 21:12 +0000 |
| Message-ID | <8t7q5kFhbnU1@mid.individual.net> |
| In reply to | #40 |
On 2011-03-02 20:34:06 +0000, AD said:
> Folks, could you add support for switch on pointers and NSStrings* in
> addition to constants in the next version of objc?
> Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> chain or
I'll get right on it.
Anything else?
--
Chris
[toc] | [prev] | [next] | [standalone]
| From | AD <isquat@gmail.com> |
|---|---|
| Date | 2011-03-02 17:12 -0800 |
| Message-ID | <9c1fbf52-1c3d-4487-9242-8b2305fe977c@t19g2000prd.googlegroups.com> |
| In reply to | #42 |
On Mar 2, 1:12 pm, Chris Ridd <chrisr...@mac.com> wrote:
> On 2011-03-02 20:34:06 +0000, AD said:
>
> > Folks, could you add support for switch on pointers and NSStrings* in
> > addition to constants in the next version of objc?
> > Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> > chain or
>
> I'll get right on it.
>
> Anything else?
I consider objc to be clutter free, so no, just don;t bring all the
bloat from c++
and you/we all will be fine. I don't miss anything from Stroustrupware
one bit.
tnx
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2011-03-02 22:39 +0000 |
| Message-ID | <910279017320798288.626264jollyroger-pobox.com@news.individual.net> |
| In reply to | #40 |
AD <isquat@gmail.com> wrote:
> Folks, could you add support for switch on pointers and NSStrings* in
> addition to constants in the next version of objc?
> Internally it could be an ugly if(x==foo) {} else if(x==bar) {...
> chain or
> it could be optimized through a NSMutableDictionary since i don't
> picture an iphone nano without some core frameworks anyway
> (assuming apps will be even allowed on iphone nano)
> but basically I want my code uncluttered and free
> from long if else if else chains.
>
> tnx
Sorry, but no. I've got way too much other stuff to do right now.
--
Posted from my iPhone.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.mac.misc
csiph-web