Re: Pike 8.0 RC1
Martin Bähr <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Excerpts from Sup Auto-generated Fake Sender's message of 2014-11-03 10:40:01 +0100: > > Safe index is nice, but if adding a ?(), it would be more useful. > > X?(ARGS) should be eauivalent to ((auto _ = X),(_ && _(ARGS))) > > Yes, I agree. The major issue is that this conflicts (somewhat) with > the ?: syntax (this is also the reason for the lack of a .? operator). > > As an example: a?(float)a:42.0 i just discovered that coffeescript has this feature. pity about the conflict. alternatives? foo??(bar); foo(?bar); greetings, martin. -- eKita - the online platform for your entire academic life -- chief engineer eKita.co pike programmer pike.lysator.liu.se caudium.net societyserver.org BLUG secretary beijinglug.org foresight developer foresightlinux.org realss.com unix sysadmin Martin Bähr working in china http://societyserver.org/mbaehr/