U
U
Uzumeti2019-03-28 20:06:01
Java
Uzumeti, 2019-03-28 20:06:01

How to write programs in java?

Hello!
More recently, I began to delve into java, in relation to the Android system.
There was one very stupid (from the position of a specialist) question: How are applications / programs written in programming languages?
I understand that there is literature and tutorials. But this is the main part of the question - where can I read about writing full-fledged programs in java? All books usually describe the simplest actions from the hello world series. I would like to understand how, for example, a game is written on the same java? What can you even google about it? For such requests, a sea of ​​almost standard textbooks is issued. And, you must admit that knowing the actions with arrays, I am unlikely to understand the logic of the graphics editor :)
That is, there is a huge gap between the actual use of the language and a typical tutorial. How to overcome this gap?
Thank you for your attention to the issue.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
GavriKos, 2019-03-28
@GavriKos

And, you must admit that knowing the actions with arrays, I am unlikely to understand the logic of the graphics editor

Decomposition - and everything will be reduced to the same actions with arrays (conditionally). Just in very large quantities.

S
Sergey Gornostaev, 2019-03-28
@sergey-gornostaev

You need a basic knowledge of the language, programming principles and paradigms. With them you will be able to write programs without even reading anything on the applied aspects of development. Without them, you will not be able to comprehend a textbook or an article from a practical field.
The best way is to get a job in an office.

S
Saboteur, 2019-03-29
@saboteur_kiev

And, you must admit that knowing the actions with arrays, I am unlikely to understand the logic of the graphics editor :)

And why not assume that the graphics editor works with a two-dimensional array, which has 1024 horizontally, 768 vertically, each element can take a value from 0 to 65535?
Here is the logic of the graphic editor - to fill the array with different numbers.
Another clue is the standard libraries.

D
Dmitry Alexandrov, 2019-03-28
@jamakasi666

The basics are everything that reinforced concrete needs to know, everything relies on this.
As an example, you brought arrays and a graphics editor.
If we take the 3D editor as a basis, then the following will come out. Exaggerated everything works on these arrays. The model consists of an array of points, another array describes the connections of points from the first array to polygons, then another array describes the texture scan coordinates for these polygons. All operations in one form or another go on these arrays, and as a rule they are very simple but mathematical.
In general, learn the basics, then take books with a bias that you like, if graphics, then for the most part these will not be language books, but matan, geometry, etc. .If you want to join the network, then for starters, a book about how it works, specifications and standards, then you can already take a book on java and networks and things will go very easily.
Any program, even the largest one, ultimately consists of many simple pieces of basic code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question