Topic: Jumps on the code
The matter is that almost always over the project I work alone. Projects of different value, well we tell the greatest occupy year-one and a half. And so an essence in what. I understand that hundred years as everyones , and , with through a shoulder. BUT! The customer writes - I want such that a feature, it should whistle, and behind at it should be the motor. It was laid down in three lines. And like in appearance all it is clear, you think, , an easy thing for couple of days. BUT! You start to write the code, to break it into classes, then on properties, methods. Reaching implementation which, far you go deep into a code jungle, observance of these principles and prowhose that the yesterday's easy thing, turns in which practically quits from under control. And quits from under control why? Because to hold in its head it is not possible. For example at me 200 files with classes, in them in total 2000 methods and properties, and the person, as far as I know can hold in a head to 9 entities. , in IDE before eyes and it is possible to pass all to a proper place of this monster. BUT! The customer speaks, and I want still here such sideways. In general not to speak in a circumlocutory manner, I will pass to a question. You have a monster, you have a task. In between - an implementation precipice. How to retain in a head and to implement all microtasks? Normal process goes approximately so (on myself I judge). You should create a class (in the necessary folder) to create in it properties, then to connect it with UI, then to correct class Settings that it considered the made changes, in other class to create object, to pass in the necessary method . Generally, we permanently spring on the code. To the huge uncontrollable. And how easier to make, that these jumps were more productive and did not strain all brain. Here my example that I for this purpose do. I have a multitask, or a most important task which was designated by the customer (want the manager). Certainly I break it into smaller subtasks. And further, proceeding from them I begin . But here and to have to falter all time. in UI, in configs, in a model class, in a view-model class, back in UI. And this process is cyclic. Between these jumps, it is possible to lose any detail and generally to depart to space, reflecting on life. I write all to a notepad, all these microtasks, and at each jump I climb in notices not to forget. At you as? p.s. Now this picture from films about hackers when the hacker without restraint and for 62 seconds at it turns out a program is represented to me. And still, it is frequent on hearing in IT blogs slips "a flow state". What it for a state when it is necessary to you a great lot of details? To write all to one file as emacs.c?