📜 ⬆️ ⬇️

Terminology. Fight against complexity

image Terminology is the most important thing in any business. Without agreeing on terms it is impossible to succeed. What's wrong with programming? In particular in Java? Not very good, if not bad.

There seems to be no clear agreement even on basic terms. For example, if I say “inner class,” what would you think? I bet there will be more than one version of what is meant. And this is very bad. creates difficulties in communication and not only.

How is this situation corrected usually - GOST standards are issued. These GOSTs have the addition "Terms and definitions". For example - GOST R 7.0.8.-2013 “Record Keeping and Archiving - Terms and Definitions”.

But GOSTs are boring. Therefore, below I will give my contribution to eliminating chaos, at least in terms of terminology regarding Java classes.
')
So, in Java there are classes:


Specification just in case: in this scheme, "Radiant" is a generalization for all types of classes in general, and "Prowling" is a generalization for all those "Radiant" classes that are not "Soaring".

Read more


Soaring


Sizzling

Example:

// -   public class A { //B -   public static class B { } } 


Piercing (piercing)

Example:

 // -   public class A { //B -   public class B { } } 


Shadowy

Example:

 new Thread(new Runnable() { public void run() { ... } }).start(); //   Thread(...) -    


Jumping (yawing)

Example:

 // -   public class A { public void method1() { //B -   class B { ... } } } 


Conclusion


I gave this terminology the name [ydax] - a random, but unique name within me, generated by a special script.

And now let us rejoice brothers and sisters - there is less haoas in this world! Use this terminology, and if someone will not understand something - throw a link to this article. Goodbye)

PS This article can be taken for banter, but it is not - in each joke only a fraction of the joke)
PPS if where the wrong information led - correct me

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


All Articles