N
N
Nikita Kinash2020-07-02 16:11:51
PHP
Nikita Kinash, 2020-07-02 16:11:51

How can you visualize logical algorithms (circuits) for ordinary users?

How can one visualize logical algorithms (schemes) of the format ($a === $b ? ( ... ) : ( ... )) for ordinary users? The essence of the task - there

are complex logical expressions. It is necessary to create a constructor
of such expressions for ordinary users
. Like scratch, but simpler . planned for vue, backing for yii2 If you have examples of such implementations, please send)



Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis Ineshin, 2020-07-02
@nkinash

Maybe you need to take a look at how kids are taught to code:
Apple has Swift Playgrounds. Where children learn to program in Swift. Look at the visualizations:
https://www.apple.com/swift/playgrounds/
There is a good article on Habré: https://habr.com/ru/post/440376/
Arduino has a good code visualization:
https://robot- on.ru/page/robot-on-studio

M
mt. NATS, 2020-07-02
@Dimastik86

draw.io

S
Sergey Vodakov, 2020-07-02
@WaterSmith

A very dangerous idea. See what's going on. You want people who do not have algorithmic thinking (I think so, because even flowcharts and scratch modules are difficult for them) to create algorithms on which the business logic of the application will depend.
And when the result of their "creativity" will lead to financial consequences, who will be to blame?
And if all the same we are talking about visualization, then you yourself visualized well in your question:


If
"document" is a "certificate of a disabled person"
then
"discount" is "40%"
otherwise
"discount" is "15%"

those. in plain text

A
Alexander, 2020-07-02
@ForestAndGarden

Block diagrams of the DRAKON language (drakon.su). The "syntax" and the rules are strict. It is difficult to draw up the correct scheme, but then it is easy to pass it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question