u/Apathy - 2 Archived Voat Posts in v/programming
u/Apathy
  • home
  • search

u/Apathy

0 posts · 2 comments · 2 total

Active in: v/programming (2)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: What programming language is good for a beginner?

I meant it as what you're comfortable with language wise. Depending on what you're using, something like C++ will not tell you where you fucked up. C will have you create everything from scratch, which is good if you're trying to learn how things work, but bad if you are trying to write a lot of code and want stuff done for you. Java on the other hand makes you write a lot of shit. For example:

Print "Hello world."

C++: cout << "Hello World.";

Java: System.out.println("Hello World.");

Here are two examples of getting length and width. C++ and Java. Java obviously takes a lot more writing, but is a much friendlier language when it comes to not fucking yourself over.

Not a big deal when it comes to one thing, until you realize you'll be writing a lot of code and you'll have to do a lot of this bullshit. Remembering all of these commands can be a pain in the ass. Fortunately Java has a drop down menu as well.

So let's say you have a Math class and you want to do things like square root, add, subtract, multiply, raise something to an exponent, etc. You can type Math.(option goes here) and a drop down menu will come down showing you all the commands you can call to do whatever it is you want, and they'll even label the value types you can use so you won't get confused.

0 03 Sep 2016 02:41 u/Apathy in v/programming
Comment on: What programming language is good for a beginner?

It depends on what you're comfortable with. Java has a lot of support and will generally tell you exactly where you fucked up. But it's very verbose.

But if you're just going in to start learning and you have no idea what to use. Try one of those online games that teaches you how to program. You won't be doing serious programming, but you'll learn the concepts of programming itself. Sort of like swimming in the shallow end before going to the deep end. You can spend a week or two, or more on one of those to get the general ideas of programming, then move on to an actual language and start writing basic programs.

1 03 Sep 2016 02:00 u/Apathy in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.