After reading Is a virtual machine for Cocoa programming inevitable? , I would like to know what language is in your mind, if replacement really happens, and why?
Correctable language and API complaints includelack of tuples, slices, maps, or associations at the syntax level;lack of programming patterns;lack of namespaces;lack of default parameters for methods;lack of redefinition / overload of the operator;leaks and premature collection by the garbage collector;dictionary, encoded named conventions;lack of package management;lack of ready support for business APIs such as REST, SOAP, SQL, etc.You can even change the often called square bracket method syntax if necessary.
Correctable language and API complaints include
ps one language per answer please.
How valid are the complaints:
Correctable language and API complaints includelack of tuples, slices, maps, or associations at the syntax level;
So what?
lack of programming patterns;
Are these C ++ templates? Then use Objective-C ++. Personally, I think this is a plus that we do not have them in Objective-C.
lack of namespaces;
It's really. I really liked the namespaces.
lack of default parameters for methods;
This is another feature I'm glad not in Objective-C
lack of redefinition / overload of the operator;
;
.
, ;
. . OTOH, , , . .
-API, REST, SOAP, SQL ..
, .
, . C, , .
- Objective-C, . : Objective-C.
MacRuby, Ruby, LLVM Objective-C ( Cocoa, NSString, NSArray). ObjC, MacRuby. , ObjC , JVM Java C, Java.
NSString
NSArray
, , Objective-C, - .
Objective-but-not-C, , Objective-C, . , Apple (, ) Objective-C.
Objective-C Microsoft Managed ++.NET - ++. , Apple LLVM , Microsoft .NET CLR, , Ruby, Python .., "Objective-but-not-C".
Swift! Swift Objective C.
, , , .
Garbage Collection , , , .
, , , , Swift, , .
Objective C, , , , -.
.... Swift 4 , python, .
Source: https://habr.com/ru/post/1754969/More articles:Keyboard Interrupts - driverWPF list select problem - c #Rails: cattr_accessor and class variables - ruby | fooobar.comscoped_ptr for a structure with a substituted free method - c ++WCF: CustomBinding confuses endpoint - securityPointer in managed code? C # - c #How to set up dynamic import when placing IronPython? - .netGwtPanel Vertical Panel Height - vertical-alignmentError Arrays.contains (int) - javajquery - get html attribute from function call - jqueryAll Articles