473,657 Members | 2,753 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Should i learn Objective C or C++?

1 New Member
hey guys im quite new to programming and have been teaching myself c, ive come to the point where object orientated languages are calling to me but i can't decide weather to go onto objective - c or c++ i own both a new mac and a windows vista pc. iv'e been doin all my c stuff on xcode on my mac so the obvious path seems to be objective - c but i dont wanna make the wrong decsision, what should i do?
Aug 21 '09 #1
4 9013
JosAH
11,448 Recognized Expert MVP
@wayneface
While I do like the language I prefer to advise not to go the Objective C route: the language is hardly used outside the Apple world and there is no progression in the language itself despite the many deficiencies it still has. Try to go for the C++ route: it's a bigger (mainstream) language and more widely known. You can also take a side step and study Java but not many people take up C++ after studying Java ...

kind regards,

Jos
Aug 21 '09 #2
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
C++ is not 100% object oriented language(even though it supports object's).... But JAVA is...

It mainly depends on your interest..

Regards
Dheeraj Joshi
Aug 22 '09 #3
unauthorized
81 New Member
@dheerajjoshim
C++ is a free form language hybrid between OO, procedural and some elements of generic templatization. In a sense, C++ can be 100% OO if you want it to, through there are few merits to this. The only procedure you ever need to create is a main(), and even that's possible to avoid if your linker supports defining alternative entry point.
All in all, it's a language designed to balance between power and performance, but execution speed is definitely one of the top priorities of the language, which justifies many of the unique properties that so much irritate OO purists (not that I'm saying, you are one).

wayneface, once you know one or two programming languages from the procedural or OO families, jumping to others isn't going to be much of an issue. Most people rightfully have difficulties adapting to the low level style of the C family when coming from scripting languages, but seeing how you have little if any previous experience, this is unlikely to be an issue for you.

Just like Joe said, C++ has many more merits in terms of power and applicability, which makes it the better choice to advance from C. Another great thing about C++ is it's huge popularity and great user base that you can always turn to if you have problems. Not to mention the great number of open source libraries such as Boost that are available to C++ which will make you far less dependent on API calls and give you more flexibility in terms of cross platform support.

Finally, Obj-C has some advantages over, C++ such as integrated garbage collection and the ability to send messages without expecting response. I have total of 15 minutes experience with it, but it seemed much easier to pick up than C++ ever was. The syntax also tends to be much more abbreviated and full of operators, which may be advantage or disadvantage depending on your own attitude.

If you do decide to go with C++, I advise you to try one of the MinGW wrapper IDEs (Integrated Development Environment) that are available out there. They make coding so much easier than the 'nix-style CLI madness that is nearly unintelligible for new programmers. I personally started with DevC++ which is quite outdated and appears to be abandoned by now. I've heard great things for both Code::Blocks and Eclipse which are free and available for Mac, Win and all 'nix variants you can think of. Give them a shot and see what works for you.
Aug 22 '09 #4
JosAH
11,448 Recognized Expert MVP
@unauthorized
That is new to me and I checked Google immediately: finally Objective C version 2.0 has been released. Garbage collection is a lot more convenient than the old retain/release counted references in version 1.0. Those Gnu folks are going to have a tough job because their GnuStep library is completely version 1.0. Java already borrowed (read: stole) a lot from Objective C but imho a lot of Java's benefits over Objective C are gone now ...

kind regards,

Jos
Aug 22 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

17
3417
by: Rob | last post by:
i know javascript, vbscript, asp css and alot more and im only 14 i was wondering which is easier to learn php or cgi. any help?
42
3693
by: Bicho Verde | last post by:
I have now free time and money to do what I want :-) I have some basic skills in programming (C, Pascal, Macromedia Actionscript) but don't know exactly what to do in the world of programming. And also I don't know exactly why would I learn Python rather than C#, C++ or Perl. Basicaly I don't know where to start, if there is much to do or if it is has it seems and there is software to everything nowadays and so doesn't make sense to spend...
124
4911
by: 43 | last post by:
how come m$Office isn't written in .net? how come Open Office isn't written in j2ee? how come dbms systems aren't written in either? how come browsers aren't written in either? how come RealPlayer, MediaPlayer and all applications that need speed are written in c++ ? (except for
55
45982
by: Elijah | last post by:
I have read many of the topics on learning C++ or Java first. It seems like everyone says something different. I would like to know if I should learn C++ or Java. First a little about myself. I know PHP, BASIC, and of course HTML. I'll be 15 years old in September. I am interested in programming GUI applications. I am also interested in programming games. I know that I should learn C++ to program games, but would learning Java make the...
8
4032
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ; Intermediate/Advanced Database designer . Because of the requirements , I must create Web Application . Access Pages is not suitable for that so I think about learning VB Net / ASP Net . I am
5
2420
by: Wojtek Kowaluk | last post by:
I recently started learning c# and I want to ask if this is good investition. Maybe I should learn c++? It's better to know c++ or c# nowadays. What about the future? C++ is very popular now, will c# be more popular in futer then c++ or maybe c++ will be ruling for very long time?
21
2839
by: TAM | last post by:
Hi, I read that ASP.NET uses VB.NET instead of VBScript. I also read that ASP.NET is a subset of VB.NET. So if I learn VB.NET first then do I have the knowledge for programming ASP.NET applications or do I need to learn both VB.NET and ASP.NET. Thank you. TAM
2
1485
by: RAM | last post by:
Hello, I decided to become .NET developer. I want to programme database applications with ASP.NET interface. I would like to ask you a question: what technologies I should learn? I think that I should consider: ..NET 2.0, C#, ASP.NET, ADO.NET, SQL Server 2005, T-SQL, HTML/XHTML, CSS, JavaScript, XML, XSD, XSLT, XQuery, IIS. Please help. /RAM/
31
2604
by: anand devarajan | last post by:
hi friends, im anand im just a beginner in c learning for the past two weeksnow i can write simple prgs can anyone help me to get well known to c lang so that i should able to write even tough prgs in c
0
8382
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8717
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1930
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.