В момента ресурсът е наличен само на английски

Extracting the logic for finding minimum an maximum into a new block Pro Preview

One of the smartest things you could do in any software program is to extract logic in small reusable, simple, understandable units. In EV3-G these are called Blocks and we are going to extract the logic for finding a minimum and maximum for each of the sensors in a new block.

  • #645
  • 04 Oct 2017
  • 2:37

Why blocks

First rule of EV3-G - if the program is taking more than one screen it is difficult to use and understand it. 

By extracting into a new block you turn this:

Into this:

Much better, easier and understandable.