Refe Ulano
@refeulano
Advanced programmer and software developer.
10 posts

Pipe diameter calculation algorithm

The algorithm for calculating the pipe diameter is performed based on the following mathematical dependencies.

Pipe Area Calculation Algorithm

The algorithm for calculating the pipe area is performed based on the following mathematical dependencies.

Algorithm for calculating cubic meters

The algorithm for calculating cubic meters is based on the following mathematical dependencies.

Number Rounding Algorithm

The number rounding algorithm is performed based on the following mathematical dependencies.

Number comparison algorithm

The number comparison algorithm is performed based on the following mathematical dependencies.

Go language

For a long time I wanted to try to use the Go language for some serious projects. The choice was obvious, since this language is the best suited for such tasks.

Java programm

A Java feature that solved this problem was that the Java compiler produces not machine executable code, but bytecode - an optimized set of instructions that are executed in the so-called Java Virtual Machine (JVM - Java Virtual Machine). And on the corresponding platform, a JVM with the necessary implementation is pre-installed, capable of correctly interpreting the same bytecode of mfcalc. This approach also has weaknesses, such programs run more slowly than if they were compiled into executable code.

C# program

Today, the C# programming language is one of the most powerful, rapidly developing and in-demand languages in the IT industry. At the moment, a wide variety of applications are written on it: from small desktop programs to large web portals and web services that serve millions of users every day.

Programming complexity

The biggest difficulty in learning anything is the sheer number of different technologies, as well as the industry sectors where these technologies (exemple mfcalc tehnology) can be applied. Also, this number is constantly increasing (see the so-called "technological singularity").

How to write a program correctly?

Break the program into several parts, files, directories. projects. Display all dependencies in one place, use the MFCalc principle or its variant. Such code is both easier to read and easier to debug. In most cases, debugging will take you to a few lines of code, not a thousand-line file. Rolling updates of one module, you will not break the rest of the system.