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

In summary: C#(language for making Windows applications.)In summary, C++ is good for writing games, Objective C is good for IOS apps, Java is good for Android apps, and a few thousand other programming languages are useful for different purposes.
  • #1
TSC
39
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
  • #3
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:
  • #4
Please indicate what are they useful for.
 
  • #5
I think you can do the required research to answer that question.

Is this some sort of HW project?
 
  • #6
Ada is great for operating spacecraft and airplanes.
 
  • #7
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.
 
  • #8
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.
 
  • #9
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,)
 

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

1. What is the difference between C++ and Java?

C++ is a statically typed language, meaning that variables must have an explicit data type declared. Java is a dynamically typed language, meaning that variable types are determined at run-time. C++ also allows for direct memory manipulation, while Java does not. Additionally, C++ is primarily used for system and application programming, while Java is commonly used for web development.

2. Can you explain the concept of object-oriented programming?

Object-oriented programming (OOP) is a programming paradigm that focuses on the use of objects and their interactions to design and create applications. This approach allows for code to be organized into reusable, modular components, making it easier to maintain and update. C++, Objective C, and Java are all examples of object-oriented languages.

3. What is the purpose of inheritance in programming languages?

Inheritance is a key feature of object-oriented programming that allows for the creation of new classes based on existing classes. This allows for the reuse of code and the ability to create specialized subclasses that inherit attributes and methods from their parent class. Inheritance can help to reduce code duplication and improve code organization.

4. How do memory management differ in C++, Objective C, and Java?

C++ and Objective C require manual memory management, meaning that the programmer is responsible for allocating and deallocating memory for objects. However, Java uses automatic memory management through a process called garbage collection, where the programming language automatically frees up memory when it is no longer needed. This can make Java less prone to memory leaks and can save programmers time and effort in managing memory.

5. Which language is best for beginners to learn?

This ultimately depends on the individual's goals and preferences. C++ and Java are both popular and widely used languages, making them good choices for career prospects. However, Objective C may be more niche and may be a better fit for those interested in iOS or macOS development. In terms of difficulty, Java may be considered more beginner-friendly due to its simpler syntax and automatic memory management. However, with proper guidance and practice, any of these languages can be learned by beginners.

Similar threads

  • Programming and Computer Science
Replies
15
Views
2K
  • Programming and Computer Science
Replies
11
Views
2K
  • Programming and Computer Science
Replies
11
Views
2K
  • Programming and Computer Science
Replies
3
Views
688
  • Programming and Computer Science
Replies
4
Views
865
  • Programming and Computer Science
Replies
2
Views
1K
  • Programming and Computer Science
Replies
28
Views
1K
  • Programming and Computer Science
Replies
5
Views
2K
  • Programming and Computer Science
Replies
4
Views
1K
  • Programming and Computer Science
Replies
9
Views
1K
Back
Top