B
B
bobrik_k2014-04-08 17:53:49
Java
bobrik_k, 2014-04-08 17:53:49

What is the first book on programming to choose?

I understand that the question is stupid, I want to do programming, I decided on the language (Java), but I can’t decide which book to choose on Algorithms and Data Structures, there is very little initial knowledge, Wirth advises, but I didn’t study the Oberon language, Pascal.
Knut as the first is not advised, because. there will be a brain explosion. Kormen began to read, there, as I understand it, without special mathematical knowledge it is difficult. So, in fact, the question arises, which book to choose, to look for another more understandable one, or to pull up mathematics in order to understand what they are writing about?

Answer the question

In order to leave comments, you need to log in

11 answer(s)
D
Deerenaros, 2014-04-09
@bobrik_k

If knowledge is zero, as you say, start by learning the basic syntax. Java today has a fairly rich, albeit very standard, syntax: classes and interfaces, inheritance, variables and class members, methods and access levels, control statements (loops, conditions), annotations, package system. Look like that's it. Let this list be an excuse to read this in java anywhere, be it wikipedia , al coursera , or even Shieldd . By the way, the programming language is not very important here. If you have studied at least something before, you will get it in a couple of days. Otherwise, the study may take a couple of weeks.
After that, you can already dig deep. Here I would recommend you mentioned Cormen and Knuth. The first one needs to be read thoughtfully, perform all the exercises (each completed exercise is +10 to intelligence). The whip can be simply leafed through. Both are good as reference books, but Knuth seems to have been designed that way. Knut has a lot more mathematics, and if Cormen can prove something "anyhow", then Knut will not allow himself this. Because of what it is long and tedious to read it: you can safely skip the evidence and return as something was not clear. In any case, they are really hard to read. Master at least Cormen - the medal is prepared for you.
But the language also needs to be known and understood. Therefore, it's time to deal with what java is designed for - the enterprise. Namely, the ability not so much to program as to develop products for sale. This is where the java philosophy comes in handy to start with. When inheritance ceases to scare you (or vice versa, the time for overly enthusiastic inheritance of everything and everything will pass), you can proceed to the gang of four . At the same time, being able to build a complex architecture, we still vaguely know what is under the hood of java. So you can read about optimizations in the JVM (I read English, I don’t know if there is a translation), and dig into openjdk , if there is too much confidence, it will not be superfluous.
Actually, this is a roadmap for a very long time. From the very beginning to the hoary old age, you will study java. It's quite possible that by the time you start the gang of four (if you start), the long-awaited java 2.0 will already come up and all of the following will lose its meaning, but what the hell is not kidding? By the way, Kormen, and Knut, and philosophy, and the gang of four will remain, these are rather fundamental books.

C
comAT0Zz, 2014-04-08
@comAT0Zz

The whip is good as a reference, if you just read it - you won’t understand half, you won’t remember the second half. It's easier to use it when needed.
Mathematics and Java. hmm. What are you going to write? I mean, not everywhere you need in-depth knowledge, and in applied science there is enough mathematics at the level of "1 + 3" (I don't mean statistics and analysis systems, graphics processing, etc., where you really need to know mathematical algorithms and formulas).
>Initial knowledge is very small
Tighten the initial knowledge first. Write a calculator, for example.

A
Alexander Mischuk, 2014-04-08
@Mischuk

Any and gradually understand the little things that you do not understand. Until death.

V
Vladimir Golovanov, 2014-04-08
@Colwin

I personally recommend Java Core, both in Russian and in English.
I have never seen a better Java tutorial for beginners.
And the algorithms are already then according to Virtu - knowledge of Java should be enough to rewrite the algorithm in your own way. Moreover, the book provides not only the code, but also a description of the algorithm - so write according to the description. At the same time will be a good practice.

V
Vladimir Golovanov, 2014-04-08
@Colwin

Here's another question on the same topic: Which java book to buy for a beginner?

C
Crash, 2014-04-09
@Bandicoot

Peter Seibel - "Coders at work. Reflections on the craft of a programmer." It is not about patterns or algorithms. But this is a very good introductory book for beginner programmers. It helps to determine exactly whether you need programming or not, whether you have chosen the right path. Plus there are a lot of tips from experienced programmers.

V
Valentine, 2014-04-08
@vvpoloskin

Or maybe just sit down and write a snake or a player?)

A
Ar4ybaldik, 2014-04-08
@Ar4ybaldik

Great reading from Sedgwick introcs.cs.princeton.edu/java/home
And lots and lots of practice at programmr.com

S
s1dney, 2014-08-12
@s1dney

And I would not advise starting with Java at all if there is no programming experience. Start with any book on Pascal / C, etc., it is not even necessary to write on them, it will simply give you the necessary base for programming in general, in any language.

A
andy-007, 2014-09-12
@andy-007

if java, then there is a book specifically for beginners books-redhats.rhcloud.com/java.action?page=12

G
globuser, 2014-11-27
@globuzer

Wirth. data structures and programs.
or any textbook for the first courses of universities of IT specialties

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question