Z
Z
ZARATUSTRA2011-11-15 19:56:32
C++ / C#
ZARATUSTRA, 2011-11-15 19:56:32

If you could turn back time, what method did you start with?

Then by what method (well, I can’t formulate it more clearly; maybe in some way) they would begin to master programming, in particular C ++. Or you just started on the right path. For now on the Internet you can find such advice on “how to learn to program”, that many beginners get into unfortunate lessons and abandon this matter, faced with an unsolvable practical problem. I think it will be useful for some beginners, and at least interesting for others.

Answer the question

In order to leave comments, you need to log in

10 answer(s)
A
Adam_Ether, 2011-11-16
@ZARATUSTRA

Of course, I am not a senior to share many years of experience here.
It’s still worth starting with an explanatory book that is easy to read (and this is definitely not Stroustrup’s “The C ++ Programming Language”, this book is worth reading “continuing”). For me it was "C++ Philosophy" by Bruce Eckel. After reading this book, I could at least understand what is going on in the codes of decent seigneurs. It is very important to look good and understand it.
But after reading at least a hundred books and understanding the theory, you still won’t write beautiful and completely correct code.
As already mentioned here, a difficult task is needed. Let at least one start. Solve it somehow, the main thing is that it just works. It may turn out to be a frank bydlokod. Well, let. But this is your first experience and the application itself does what it should. Over time, you will improve it, perhaps you will realize that it has the wrong architecture in general and rewrite it.
Ask questions. Sometimes a good question generates good answers, more lively than the dry pages of the standard (which, by the way, should also be under the pillow and read / repeated before going to bed;)
All development comes down to the fact that you solve real problems and learn from them. And every year, your code will look more and more like a senior.

S
Sergey, 2011-11-15
Protko @Fesor

He taught all programming languages ​​and technologies according to the principle - we must, we will do it. The algorithm is simple: We set ourselves a task, usually this task is not simple, but as complex as possible, and we thought about how to break it all into subtasks. Then, with the help of Google and the sources found by him, he implemented it. In the process of work, a huge mass of questions arise, most of which are solved by Google. It doesn’t work out for me to learn from a book, only if I “peek” something.

H
Hint, 2011-11-15
@Hint

I definitely wouldn’t learn by typing (using examples), but would buy some good book.

A
a3x, 2011-11-16
@a3x

Soria for the humor, but the question is inspired by

E
edogs, 2011-11-16
@edogs

They don't learn from other people's mistakes.
Those who have never messed with sql injections - according to any guide, they will not get into their very essence, and so on.
In many, incl. prof. books that are reread 5-10 years later have a surprising amount of errors. But without these mistakes and books, there would be no understanding of the need to understand the essence of what is happening (and not stupidly trust authorities), learn from mistakes (including being able to understand them), and so on and so forth.
The correct technique “immediately” simply results in a lack of understanding of the basics of what is happening. Which, by the way, is well seen from the height of the current flight on "students" who "everyone knows" how to do it right, but at such a purely theoretical and flawless level that it becomes terrible for the future of nations.

H
holyorb2, 2011-11-15
@holyorb2

book + examples + goal
Why exclude something

J
JagaJaga, 2011-11-16
@JagaJaga

I would find a mentor and study literature in parallel. But the main thing is to set goals, some simple tasks, and write them yourself.

V
Vladimir Chernyshev, 2011-11-16
@VolCh

I would immediately start mastering TDD and DDD. Plus a version control system, I would start with Mercurial. And no IDE and other GUIs until you figure out which console commands and which config lines translate menu commands and checkmarks in the settings and what they actually do.

I
icc, 2011-11-16
@icc

I would start with Stroustrup's book "The C++ Programming Language", and then I would sit down to study the details on sites like Stackoveflow, CodeProject. And the standard of the latest C ++ is not bad to study. If you need to learn about abstractions, then Alexandrescu's book "Modern C++ Design" is better. And it is desirable to have some real task that needs to be implemented in C ++.

O
Ogra, 2011-11-16
@Ogra

With McConnell in one hand and Stroustrup in the other ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question