Twitter | Search | |
Joe Groff
If you're an Objective-C developer and feeling left out on new language features:
Reply Retweet Like More
Matt 13 Jun 16
Replying to @jckarter
Reply Retweet Like
Helge Heß 13 Jun 16
Replying to @jckarter
__autotype id ? ;-)
Reply Retweet Like
Lee Morgan 13 Jun 16
Replying to @jckarter
interesting
Reply Retweet Like
Matt 13 Jun 16
Replying to @jckarter
brb var __auto_type let const __auto_type
Reply Retweet Like
i'm anne gables 13 Jun 16
Replying to @jckarter
I can't seem to verify/open the Xcode 8 .xip yet, but will "__auto_type" autocomplete in Xcode 8?
Reply Retweet Like
Paul Cantrell 13 Jun 16
Replying to @jckarter
Reply Retweet Like
Garrett 13 Jun 16
Replying to @matt_sven @jckarter
my thoughts exactly :o
Reply Retweet Like
Daniel Vollmer 13 Jun 16
Replying to @jckarter
And if you’re a C++ developer, you now have C++11’s thread_local. 🎉
Reply Retweet Like
SantaStraws 13 Jun 16
Replying to @jckarter
Is it more or less similar to `auto` from Objective-C++?
Reply Retweet Like
Joe Groff 13 Jun 16
Replying to @twostraws
Yeah, though ObjC's type system is different, so you have pitfalls like enum constants and boolean expressions being 'int'.
Reply Retweet Like
Harlan Haskins 13 Jun 16
Replying to @jckarter
auto __auto_type
Reply Retweet Like
Joe Groff 13 Jun 16
Replying to @harlanhaskins
<stdauto.h>
Reply Retweet Like
Pierre Habouzit 13 Jun 16
Replying to @jckarter
even in C?
Reply Retweet Like
Jean-François Roy 13 Jun 16
Replying to @pedantcoder @jckarter
FWIW, this is the main reason I’ve used Obj-C++ for so long. auto all the things.
Reply Retweet Like
Pierre Habouzit 13 Jun 16
Replying to @jfroy @jckarter
yeah well, I care for neither the Obj or the ++ :P
Reply Retweet Like
Joe Groff 13 Jun 16
Replying to @pedantcoder
Yep!
Reply Retweet Like
Pierre Habouzit 13 Jun 16
Replying to @jckarter
cool, that can come handy in macros.
Reply Retweet Like
Jacob Gorban 13 Jun 16
Replying to @jckarter
let me just: let __auto_type
Reply Retweet Like
Jean-François Roy 13 Jun 16
Replying to @pedantcoder @jckarter
I really don’t either anymore. But 5-6 years ago was good tradeoff for the code I was writing.
Reply Retweet Like