1

Topic: Whether it is necessary to read source codes of an open software for increase ?

I write the wonderful aaplet one, therefore it anybody never saw. On With ++ in a command did not work (only procedural 1), therefore there was a thought: instead of whether I write full ?
There are two candidate solutions of a question:
1. To find  With ++ which looks at my code and tells where it is possible to refine the code.
2. To esteem another's code and to note improvings which can be applied in the code.
The first variant most likely , and the second demands the "ideal" code. Like as anybody the bad code will not shine, therefore there was an idea to look at another's source codes. Somebody plaid about learning of another's code?
What will the flight tells?

2

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL;
You write full .
Esteem source codes of same Kjuta

3

Re: Whether it is necessary to read source codes of an open software for increase ?

Siemargl wrote:

AlekseySQL;
You write full .

It about those pieces of the code which I sometimes spread or about a question in a topic?

Siemargl wrote:

esteem source codes of same Kjuta

When  in libraries QT saw the strange code: it any strongly compressed, is not present blank lines, short titles of variables, very bad formatting... Sensation that they tried to make the code less on weight (to reduce the traffic when the user swings source codes).

4

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL, of course, nothing hinders you for a moment to look at how make out the source codes skilled developers, but nothing hinders you to work out own style - that will be, at your sight, is as much as possible convenient to perception of your code by others.
I can only advise to use in names of variables and functions abbreviations clear and often used in specific cases  words (never, any translit!), and also, at usage of types on the basis of templates not to be lazy to do typedef, where also to fill out a descriptive name of type from which it will be clear for what this type it is used. Also do not forget to supply the code with comments in as it seems to you, difficult for understanding others places.

5

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL wrote:

There are two candidate solutions of a question:
1. To find  With ++ which looks at my code and tells where it is possible to refine the code.
2. To esteem another's code and to note improvings which can be applied in the code.
The first variant most likely , and the second demands the "ideal" code. Like as anybody the bad code will not shine, therefore there was an idea to look at another's source codes. Somebody plaid about learning of another's code?

Variants not mutually exclusive, and both are feasible.
You only should suppose somewhere for this purpose the code.

6

Re: Whether it is necessary to read source codes of an open software for increase ?

rdb_dev wrote:

Also do not forget to supply the code with comments in as it seems to you, difficult for understanding
Others places.

Generally it is better to write comments everywhere where you made decision to use the defined
The code from several alternatives with instructions which alternatives were considered and
Why have been discarded. Otherwise at the reader the impression that the given piece of the code can be added
It is written crookedly only because you did not use a brain from a word "absolutely".

7

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL wrote:

it is passed...
It about those pieces of the code which I sometimes spread or about a question in a topic?
it is passed...
When  in libraries QT saw the strange code: it any strongly compressed, is not present blank lines, short titles of variables, very bad formatting... Sensation that they tried to make the code less on weight (to reduce the traffic when the user swings source codes).

No, it is normal  the code.
If  small, instead of the saga, all variables are visible, and there is no big sense to write the big long titles for variables.
Besides, developers often hold in a head the reduced titles and , and it for specific  and so it is absolutely transparent.
For example, I here read much from Qt V4 engine (JS the engine which has been built in in Qt QML), there is such concept inside as Managed is everything that is inside JS - a cursor, any variable which storage is controlled by an engine. There everywhere on the code is called simply
m.

Managed m;

Shortly and clearly.

8

Re: Whether it is necessary to read source codes of an open software for increase ?

MasterZiv wrote:

Variants not mutually exclusive, and both are feasible.
You only should suppose somewhere for this purpose the code.

Ready to undertake to look at my masterpieces?

9

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL wrote:

Ready to undertake to look at my masterpieces?

Are ready to undertake to look at my masterpieces?

10

Re: Whether it is necessary to read source codes of an open software for increase ?

Altruistic  today you will not meet, especially, in IT

11

Re: Whether it is necessary to read source codes of an open software for increase ?

NekZ wrote:

Altruistic  today you will not meet, especially, in IT

Well, if on - garlic, this forum just a sample altruistic  smile
Besides, who works as that on "" (so at 1s -  the permanent job in firm - the customer is called) similar questions allows not to lose skills on areas of programming not used on current operation. So to say periodically to renew knowledge.

12

Re: Whether it is necessary to read source codes of an open software for increase ?

AlekseySQL;
Spread on .

13

Re: Whether it is necessary to read source codes of an open software for increase ?

mayton wrote:

Spread on .

And who will read it there? Value of forums - in a reality on a question.

mayton wrote:

AlekseySQL

If in something you doubt, lay out here and ask.

14

Re: Whether it is necessary to read source codes of an open software for increase ?

CEMb wrote:

it is passed...
And who will read it there? Value of forums - in a reality on a question.
it is passed...
If in something you doubt, lay out here and ask.

How much I understood - the person wrote the code and asks to make code-review.

15

Re: Whether it is necessary to read source codes of an open software for increase ?

mayton wrote:

How much I understood - the person wrote the code and asks to make code-review.

in that case at the code - on , and here the link with the description that for the code what to look, and in what of doubt. I think, so it would be normal.

16

Re: Whether it is necessary to read source codes of an open software for increase ?

CEMb wrote:

what to look, and in what doubts

, it is the best council, well and it is finite: "Yes, it is necessary to read."
How much I understood,  not so much design,  preference usage of receptions, i.e. those or other structures / methods for k-nid miniproblems, yes even for typical  for macroproblems interests. Design "" not to increase. It in itself is valuable and will be installed in due course, .
I am exact not an example for imitation since completely not all life programmed, but , design quite good))): 21440212 , (and when  was?) only for itself, without  ulterior motive about reading by someone, it is simple for the love of beauty. But also that to tell, the habit if I work over another's not clear fragment on 2-5 screens I try on  to merge lines in one that before eyes was more material was saved. And that most when itself I am debugged. On design can not to remain also time.