The so-called syntactic sugar makes it more convenient for programmers to write. Almost all mainstream programming languages support such features. It is not a question of whether it is advanced or not. Shouldn’t the more advanced it be, the more trouble it will have? There is no such truth.
Going a step further, is there any difference between objectAtIndex and syntactic sugar? In the end, what the computer sees is 0 and 1, so what else is not syntactic sugar?
This is a new feature of Objective-c LLVM 4.0.
Recommended reference article: http://blog.csdn.net/kindazrael/article/details/8091201
The so-called syntactic sugar makes it more convenient for programmers to write. Almost all mainstream programming languages support such features. It is not a question of whether it is advanced or not. Shouldn’t the more advanced it be, the more trouble it will have? There is no such truth.
Going a step further, is there any difference between objectAtIndex and syntactic sugar? In the end, what the computer sees is 0 and 1, so what else is not syntactic sugar?