Best practices for working with software

Sorry to post this worldly question here, but I need help!

I need to do 1 hour of training on best practice for some programmers in my company. Audience - “Fresheners” for a couple of years of experience guys.

Can you guys suggest some relevant topics that I can cover?

I could think of the following:

1) The importance of the following coding standards, indentation 2) The correct assignment of files, variables, functions, classes, tables, columns, views and all other artifacts 3) The layer of your application - each layer should worry 4) Abstract general things in multiple utility classes

Any help would be greatly appreciated (Positive response to this post, and I promise that I will contribute to the community by responding to at least 10 threads!)

+3
source share
5 answers

The topics you mentioned are good. If you want to briefly mention them and therefore want to add others, you can consider some (in a specific order):

  • , , : , , , . , (, "" ) ( "lint-like" - ) ( , , ).
  • : , , .
  • , ( ): , , - "-" , , - , , & c

    • : , -, , - , , . Ga , C...:

    /* bad - , / i + = k;/ k */

    /* , , ;-)/ i + = k;/ thingamajig */

    /* best */ widget_count + = thingamajig_count;

( - , , , , , ! -).

+2

SO, , . :

" ", : " Brain".

0

. , , .

( ) . . . , . Typedef ( , C (++)).

0

, , : -

  • - // - ..
  • - ,
  • - .
0

If you want your training course to have a significant effect, you want to stick to where you can clearly communicate the benefits of each topic, and not just give them abstract rules. Evidence and war stories about how projects failed because some code was misunderstood, the error was too complicated to find, other bad practice, etc. Much more memorable for some percent of students than a set of recommendations without explanation.

0
source

Source: https://habr.com/ru/post/1762109/


All Articles