A
A
Alexander Lozovoy2014-07-24 11:46:51
Programming
Alexander Lozovoy, 2014-07-24 11:46:51

What to read or look at on the subject of programming logic?

10 years ago I was interested in BASIC, Pascal, OOP, but all this was not included in the school informatics course - we didn’t have it. I was not a student for long - I was expelled 2 times from the first course. In general, I was not taught computer science, self-taught.
So - I can read php, java, BASIC, Pascal code. Read and understand what he does. I can take someone else's piece of code, rewrite it to fit my needs.
But I can't write something from scratch at all - I don't understand where to start, how to bind functions, methods, etc. I don't understand logic and coherence in programming. Most likely I do not have enough fundamental knowledge of programming.
What to read? What lectures to listen to?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Philip Philippak, 2014-07-24
@aerounit

Perhaps the book Structure and Interpretation of Computer Programs ( SICP ) will help you a lot. After SICP, you can read Donald Knuth. You can also try to find something interesting here .

O
Optimus, 2014-07-24
Pyan @marrk2

Yes, you don’t need to read anything when such a problem, you need to make a few simple scripts and he will understand everything.
Let's say you need a calculator.
This means: you need numbers (copy the reception form from anywhere), you need to work with numbers - assign variables to them, then you need actions with them, find and copy actions (addition, subtraction) into the script, display what happened on the screen (if if you don’t know how to do it, then copy it from someone else’s echo). Everything. Where is the programming logic here?
It's just that usually when everything is copied, they don't know the syntax well, but that's another question. To do this, take a video tutorial and retype everything from it with your hands into the editor.

O
Oleg Abrazhaev, 2014-07-31
@seyfer

Books:
PHP. Programming Objects, Patterns, and Techniques 2nd Edition by Matt Zandstra
PHP. Programming Objects, Patterns, and Techniques 3rd Edition - Matt Zandstra
Object Oriented Design Techniques. Design Patterns -
E. Gamma, R. Helm, R. Johnson, J. Vlissides
Refactoring. Improving Existing Code - Martin Fowler
Human Factors: Successful Projects and Teams - Tom DeMarco, Timothy Lister
The Mythical Man-Month, or How Software Systems Are Made - Frederic Brooks
Facts and Misconceptions of Professional Programming - Robert Glass
Clean code. Creation, analysis and refactoring - Robert Martin
Zend Framework 2.0. Web Application Development – ​​Krishna Shasankar

Reading now:
Applying UML 2.0 and Design Patterns. Introduction to Object-Oriented Analysis, Design, and Iterative Development - Craig Larman
Perfect Code - Steve McConnell
seyferseed.ru/life/projdennye-kursy-i-prochitannye...

M
MinasAbrahamyan, 2014-07-31
@MinasAbrahamyan

<< I was not taught computer science, I
can read the code ... understand what it does ... take someone else's piece of code, rewrite it to fit my needs.
But I can't write something from scratch at all - I don't understand where to start, how to bind functions, methods, etc. I don’t understand the logic and coherence in programming.>>
You need to learn two things: what is the architecture of the application and how it is built = learn the practice of decomposition, and for this, develop the practice of writing programs yourself, starting from the stage of setting the task, then developing the architecture, implementing, and implementation testing.
The architecture of programs was first based on procedures (structured programming), then objects (OOP), then component programming (COP) (this last one, unfortunately, is not very common)
To do this, you can read a book or an article on Wikipedia according to the appropriate paradigm, but the main thing is to train yourself the skill of breaking a task into sub-parts. Not reading ready-made codes, but independent thinking how to break the task into solvable pieces, and so on until the end of the implementation.
Secondly, the practice of self-writing programs is a very important stage. You need to write yourself, without it in any way. Even for knowledgeable people, skills become dull without practice (as if a developer goes to support an already written project)
Here it is necessary to find such conditions under which it will be necessary to write something independently, from scratch. Let it be small first.

A
Alexey Kulakov, 2014-07-24
@carbon88

There are also a bunch of books a la "XXX for beginners". here to substitute a specific language. on the toaster there are answers about "read on java" and about "read on C#"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question