Home java How to start learning programming?

How to start learning programming?




I decided to choose a programming of my future profession. Now I want to figure it out in the basics of programming. Tell me, where is it better to start and what allowances it is better to use? Now I found a good java textbook, but I do not know whether it is the best option.

Answer 1, Authority 100%

With Java, things are as well as with many others. Everything as usual: read the book or even an article about how elementary things like Hello World are written, mastering simple things, such as cycles, branches, classes, etc. As usual, after that, I need a practice: put your goals – decide, put new ones – decide again.

Now I found a good java textbook, but I do not know whether it is the best option

Mera of how good the textbook is, – how it is clear to you what is written there. And, of course, the textbook should never be misleading (there should be no obviously false information), but it happens rarely. If everything is clear to you, then the tutorial is suitable for at least for a start.

From the classics for sabj:

Many recommend Shildt, but for me, this is not the best choice. There are precedents for misleading them. In addition, this man is trying to be an expert throughout . He and C #, and the pros, Java. This is probably indicated by the limited experience in each of the directions in which he “broadcasts”.


I forgot to specify the main thing. Before something in general, it is necessary to put the head in order and achieve clarity in it.

Answer 2, Authority 100%

Authors: Horstmann K. S., Cornell G.

  • Java 2. Volume 1. Basics
  • Java 2. Volume 2. Programming Threads

Answer 3, Authority 100%

The best way to learn to program – start programming

Search, buying books / ki – Only the way to delay the inevitable, download any book for beginners (“Aza …”, “… for teapots” and TP) in electronic form (as an option – find a separate article on the expanses ), open the first chapter and start reading, on the third-10th page there will be an example of the simplest program of type “Hello World”, and further a few more examples with the simplest arithmetic and operators

It is possible that the book is in your hands, exactly what needs

Search paths, study of existing training, listening to tips, anyway (despite the results) sooner or later will lead to this step – 1 Chapter and Hello World 🙂

Answer 4, Authority 100%

  • David Flanagan. Java in examples
  • Hardcore Java. Robert Simmons
  • Thinking In Java She is a Java philosophy =)
  • Patrick Nouton. Rogerbert Shildt. Java 2

and to immediately with beautiful applications

  • SWT: A Developer’s Notebook .tim Hatton

Answer 5, Authority 75%

Now I want to figure out the basics of programming

judging by the issue, it’s not in programming languages. Learning to program should be started with the study of Computer Science.

and so on

Answer 6, Authority 50%

I think Pascal is well suited to study the programming and understanding of algorithms.
Modern programming languages ​​were largely repelled from Pascal.
On my experience, I will say that after him I easily began to master C++ and PHR.
I’m sure, many will not agree with me, but this is personally my opinion.

Answer 7, Authority 50%

si the best to start. Language small. Of the difficulties – only pointers. (True, as our teacher says – “Never think that you understand the pointers to the end”).
What about learning from the whip and the king … Wow, well, this is a strange council.
From the books according to SI, I advise Stephen Prata, well, the source is Brian Kernigan and Dennis Ritchi.
The best textbook is Google 🙂

Answer 8, Authority 50%

In principle, each of the previous authors is right.
However, I would suggest you to start learning programming not with Java and from C language (as a subset C++) or Pascal (IMHO is better even with C / C++).


  1. Easy and lack of necessary at the first time of loads (Java supporters are solid classes … What is the basis of the basics if you need to wrap in class each function?
  2. Simple and intuitive syntax.
  3. Availability of a huge number of textbooks, including in Russian, free access (Internet).
  4. Ability to continue learning (structural programming, OOP) Crossing C- & GT; C++ or Pascal- & GT; Delphi.

Well, in fact, you can still continue, but it does not matter much. In the future, it will be even easier – we will master one language – others will be given easier …

If they are not at all familiar with programming and hard with English teams (like if, then, else, while …), you can play a little with the verb (Russian programming, look in Google) – just a little, because it’s not Standard …

Answer 9

Guys here is the fact that Java man wants, and not the basics of programming. From the first point of view, Pascal and Java are distinguished different languages ​​(Java I would even say technology).
From the second point of view – yes, Pascal gives an idea not only about the scuffers of object-oriented programming, but also a structural, modular, so that for studying the Azov – Pascal is suitable and simple, to explore Java technology – no sideline =)

Answer 10

Describe what kind of education you have – or at least how familiar with applied mathematics – combinatorics, graph theory, analyte I.T.D.
Why did you decide to engage in programming, what exactly is most interested in – Web programming, 3D graphics?
In any case, I would advise you to start with C++ (IMHO, the best textbook for the beginner – Stephen Prat)

Answer 11

I think to start learning programming, you must execute the following items:

  1. Select programming language; It is selected based on the subject area, which is interesting for you as the future programmer: Web, Application programs, etc. There are narrow-directed languages, but there is a general purpose, the so-called universal, everyone has their advantages and their cons. Select an assembler to write your CMS, and PHP for writing drivers (this is not even impossible) in my opinion.
  2. Language is just a means to achieve the result, in addition to learning the language itself, its syntax, features, etc. It is necessary to parallel to study the basic programming paradigms – principles, approaches, algorithms, data structures, etc., it will help to look wide for things and apply effective, light and elegant solutions.
  3. Hurrying, patience and a systematic approach to the study of seasoned with enthusiasm and desire will undoubtedly help you to achieve success in mastering this such interesting profession.

Answer 12

Purely say – start with the simplest example of Hello World.
The study of any language begins just like this.
But language language, and you still need to know the databases, algorithms, all sorts of protocols …
Here at the Institute it is taught.

People who advise to start learning from Pascal or Si, apparently, nostalgic in these languages, because they themselves started with them (this very much, started with Baysik, then, then Pascal and C.).

But, I advise you to start with an interpretable language (Java, .NET, PHP, Python, etc.). It will save from problems with the allocation of memory and exit outside the array. These things generate very cunning, complex errors are difficult. And this, I think, nothing. Although, of course, about mistakes learn.

java is essentially an interpretable language, but it still needs to compile first in the object code. And this object code is interpreted.

Self for PHP, I think this language is the easiest, well, just used already. I will not pick up, otherwise lovers of what “more serious” fans will throw. But I like it, the mass of all sorts of languages ​​at the institute, stopped on PHP and suits me.

Answer 13

Starting from here: http://javarush.ru/user/reference / 876D2F07-0ECC-419C-84FD-FD31616F2581 – good tasks and some theory

and from here:
https://www.youtube.com/user/kharkovitcourses – many theory.

Using together, you can quickly learn Java.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions