Have Objective C for absolute beginners
Have Objective C for absolute beginners
Nope. Not even close, really, except insofar as each was in part inspired by C or a C-styled language. Trying to learn C# by reading a book about Objective C would be like trying to learn Norwegian by reading a book about German. There will be some similarities, but a whole lot of differences too.
Last edited by Cat; 07-01-2016 at 03:33 PM.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.
Objective-C was built as a strict superset of C (every C program is also an Objective-C program), adding OO elements of Smalltalk (programming language) on top. C# is more like an improved Java. Java of course borrowed a lot from C and C++ syntax, but less so (at least syntactically) from Smalltalk.
The statement that C# is an "improved Java" is entirely subjective. Java is both simpler in concept and design that C# and have substantially different goals as a language -- unless that goal is "to take over the world", in which case, Java is most certainly winning.
Winning? You mean "steadily declining over time". Sure, Java was hugely popular in the 90s, but it has been falling in popularity over the last 10 years. The idea that it's taking over anything is ridiculous.
cite: Measuring programming language popularity - Wikipedia, the free encyclopedia
If you understand what you're doing, you're not learning anything.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
I guess the quantitative measurement I was thinking of was in terms of "number of lines of existing code written in Java vs. C#" and "number of CPU cycles spent running Java vs. C#". If I'm not mistaken, then according to that Wiki page Java is "winning" overall. I would think this is due mostly due to legacy systems, however. The choice of C# over Java for new development seems to be increasing and would seem to be overtaking Java at some point in the future, extrapolating from the graph.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
Good points - however lets not forget that one of the prime reasons of C# existing is because
Microsoft saw how innovative Sun was with Java so they made a "Java Clone" language. Both are
fully object-orientated and both handle memory automatically.
In the sense of Java still being on top - well that is never going to change unless colleges
stop using Java as a first language for teaching. Not that this is a bad thing, but because Java
is seen as a mainstream language it's not going to change anytime soon.
C# is Microsoft's lovechild - and unlike Java it continues to evolve and update. I can see the .NET
ecosystem one day overtaking the JRE world due largely in part to Microsoft finally making .NET
open-source.
Double Helix STL
JAVA - Just Another Vulnerability Announcement
The book of Stephen Kochan, "Programming in Objective-C" is aimed for those persons who has none-to-little background in programming.