C/C++ Programming Languages: C++, Objective C, Java & More

AI Thread Summary
C++ is recognized for game development, Objective-C is favored for iOS applications, and Java is commonly used for Android apps. The discussion highlights that while certain languages are associated with specific applications, most programming languages are versatile and can be used for a variety of tasks. For instance, C++ may not be the best choice for browser-based games. The conversation also touches on the existence of specialized languages for different fields, such as Ada for aerospace applications and APL for mathematical programming. Additionally, esoteric languages like ArnoldC, which uses quotes from Arnold Schwarzenegger movies, are mentioned humorously, showcasing the diversity in programming languages. Overall, the importance of selecting the right language for specific tasks is emphasized, with a suggestion that beginners should start with Python for its ease of learning and versatility.
TSC
Messages
39
Reaction score
1
C++ is good for writing games
Objective C is good for IOS app
Java is good for Android app.
Any other examples of programming languages?
 
Technology news on Phys.org
Missing from most lists of programming languages is somewhat unique properties, such as APL's property of allowing programmers to create write only code.

http://en.wikipedia.org/wiki/Write-only_language

http://en.wikipedia.org/wiki/APL_(programming_language)

The wiki link about the one line of APL code for Conway's game of life uses fonts that many browsers don't include. Here's a better link about that one line program, that involves self-generation and execution of code (which works since APL is interpretive).

http://catpad.net/michael/apl

and a youtube video showing the creation of an animated (1/8th second delay) "program":

 
Last edited by a moderator:
Please indicate what are they useful for.
 
I think you can do the required research to answer that question.

Is this some sort of HW project?
 
Ada is great for operating spacecraft and airplanes.
 
TSC said:
C++ is good for writing games
Objective C is good for IOS app
Java is good for Android app.

That's a very strange way of thinking about programming languages.
Most languages are good for most things.
For example you can write games in nearly every language. And C++ is not at all the best choice for a private person wanting to create a game especially when you want it to run in a browser.
 
You have listed general purpose languages and tried to match them with very specific uses. When you include special purpose languages (for mathematics, graphics, computer simulation, artificial intelligence, etc.), there are more languages than anyone can count. You can tell us what you are interested in and people may know languages that are great for that use.
 
SteamKing said:

Ha! I followed the links to Esoteric programming language and found ArnoldC: an imperative programming language where the basic keywords are replaced with quotes from different Arnold Schwarzenegger movies. This is the "Hello World" program
Code:
IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
From now on, this is my language of choice.
 
  • Like
Likes 1 person
  • #10
FactChecker said:
Ha! I followed the links to Esoteric programming language and found ArnoldC: an imperative programming language where the basic keywords are replaced with quotes from different Arnold Schwarzenegger movies.
Here's a link to an ArnoldC solution to the FizzBuzz problem: https://gist.github.com/georg/9224355.

For those who don't know the FizzBuzz problem, it's rather simple. Print the numbers from 1 to 100, except print "FizzBuzz" instead of the number if the number is a multiple of 15, "Fizz" if the number is a multiple of 3 (but not 15), "Buzz" if the number is a multiple of 5 (but not 15).
 
  • #11
Python explained:

python.png


http://xkcd.com/353/
 
  • #12
D H said:
Here's a link to an ArnoldC solution to the FizzBuzz problem: https://gist.github.com/georg/9224355.

For those who don't know the FizzBuzz problem, it's rather simple. Print the numbers from 1 to 100, except print "FizzBuzz" instead of the number if the number is a multiple of 15, "Fizz" if the number is a multiple of 3 (but not 15), "Buzz" if the number is a multiple of 5 (but not 15).
Unbelievable!
 
  • #13
That ought to be a rap song!
 
  • #14
from my experience & 'education':

Java, C# perhaps too : Distributed Internet Apps.
C : Operating Systems, Hacking, Low-level Optimization.
Assembler : Hacking, Operating Systems, Low-level Optimization.
Pascal : Learning Programming,
Ada : will have to see yet, but it has uses in Military around the world, including NATO Forces.
 
  • #15
DrZoidberg said:
That's a very strange way of thinking about programming languages.
Most languages are good for most things.

that's true, but i think that Computer Sciences can be compared to a Drill, and Programming Languages to Drill Bits.

Experts will use different Drill Bits for different tasks.

Different tools for different purposes.
 
  • #16
For example you can write games in nearly every language. And C++ is not at all the best choice for a private person wanting to create a game especially when you want it to run in a browser.
Exactly!
 
  • #17
ALWAYS LEARN PYTHON FIRST. I learned Python at age 11, and now I'm 14. Even I can say that it helps when learning more advanced languages, such as Objective-C(language for making iOS and Mac applications,)
 
Back
Top