Objective-C: high level language?

I managed to avoid C and C ++ so far (with the exception of a few HelloWorlds) and instead work in higher-level languages. I worked and lived in VB6, then Java, then C #, then ActionScript, and now Ruby.

I recently became interested in programming an iPod Touch / IPhone. Although I have seen some opportunities to avoid ObjectiveC (for example, the Mono for IPhone ), I'm curious about Objective C. Basically: if it does require the developer to handle garbage collection and management indicators, etc.

Edit: I am fully open so that my concept of higher and lower level languages ​​is incorrect or misleading.

+3
source share
4 answers

Garbage collection: yes, but not as bad as C or C ++. Once you understand Objective-C garbage collection, it is very easy. It does not take long to study or study.

As for pointers - you will use pointers much less often than in C or C ++. Yes, a little knowledge about pointers is useful (knowing the difference between a declaration NSString *and NSString), but it is also not that difficult.

" " , iPhone. Objective-C, (Cocoa Touch). . Objective-C , . , .

# , . , , . , , , , . IDisposable , 100%, Disposing. , . , Objective-C , Dispose #/. NET

+10

Objective-C, iPhone, i. . iPhone, , Objective-C.

+4

"Basically: does the developer need to handle garbage collection and manage pointers, etc.?" - on the iPhone, yes.

+1
source

It is not as "high level" as C # and Java, IMO, but it is still considered a high level language like C ++ and, yes, C.

Objective-C has garbage collection, but iPhone Object-C does not.

+1
source

Source: https://habr.com/ru/post/1719386/


All Articles