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

  • Context: C/C++ 
  • Thread starter Thread starter TSC
  • Start date Start date
  • Tags Tags
    Android Programming
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
16 replies · 4K views
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?
 
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.
 
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   Reactions: 1 person
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).
 
Python explained:

python.png


http://xkcd.com/353/
 
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!
 
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.
 
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.
 
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!
 
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,)