Home
Home
Map
Map
Download
OS++
Down
Load
Doco A
Doco_A
Videos
Youtube
Chat
Chat
News
News
Shop
Shop

//#! Declaration: http://osplusplus.org/2022standard/Amateaur

TLDR; The top line, is a standard declaration using the format (CODE.org/STANDARD/GRADE). You are using this declaration to notify future readers that the following code is written in OS++, with the 2022 syntax standard, and that the code is meant for fun and learning and not a professional environment. The declaration just happens to be an HTML link, which has more information.

Format What it means Notes
CODE.org Is the code language type OS++
STANDARD Is the year of the standard 2022
GRADE Means the code grade or quality Fun & learning

For a list of standard declarations and a better explanation. Please visit http://osplusplus.org/2022standard/professional
To see the Language documentation for this language. Please visit http://osplusplus.org/2022doco


The Amateur standards and grades

“The best is the enemy of the good.” - Voltaire
“Better a diamond with a flaw, than a pebble without.” - Confucius
“Striving to better, oft we mar what’s well. - Shakespeare:
- Perhaps these guys are onto something?

We all start somewhere. Add this declaration, at the top of your code, when you are learning or trying out new ideas. In today’s coding world, we are told never to use monstrosities such as gotos. How will anyone learn, why this is the case, if they have not played with the concepts? This is the place to proudly use a goto. Or in OS++ code terms, a naked translate in a module. I don’t know which one is worse.

I am told that C++ started off as a library before becoming a language in it’s own right. Today’s modern languages, like Rust, are trying to take the C++ crown. Unlike C++, Rust will analysis the code for “flaws” and “bad” templates before final compilation. It will “Nudge” people to write better code. If you don’t comply, it refuses to compile. It does this in the quest for the perfect code. Unfortunately, this perfect code concept is subject to interpretation and fashion of the time.

This is all good for a professional coder, who are expected to keep up and write the perfect code. (They have their own declaration.) But it’s bad for learning or just producing some code for fun, that won’t be expected to run military grade security protocols. So this declaration is but one of many, that is used to explain the grade of the code and in which context it should be viewed.

In conclusion: The ultimate goal of the declaration is instruct our tyrannical programming overlords to cut us some slack. But for now, it is just a text line that says I am having fun. Don’t judge me.


Site summary (added to bottom of every page)

Web links    
 The_Download = UNIX - The_Download - OS++ Framework
 The_Download = Windows - The_Download - OS++ Framework
 Front_door = OSplusplus.org
 2022standard = OSplusplus.org/2022standard
 Grade EG = OSplusplus.org/2022standard/Professional
 Doco = OSplusplus.org/2022doco/
 Terms & datatypes = OSplusplus.org/2022term/
  =  
 Youtube Channel = https://www.youtube.com/channel/UC5GqhceNMLX4iDNClEWT0Fg
Code map    (Download page)
 Examples = /Example_lucky_dice_succinct_v2_0_0.scad
 Templates (Use this) = /Template_minimal_v1_2_0.scad
 Templates (too long) = /Template_verbose_v1_1_0.scad
 Project_template (Use this) = /project_template
 Libs root = /z_lib/
 3rd party code = /z_lib/addon
 Cuboid = /z_lib/lib_cuboid
 Cones = /z_lib/lib_cone
 Spheres = /z_lib/lib_sphere
 Cone Maths = /z_lib/L0_cone
 Cone Math/Cyl = /z_lib/L0_cone/z_ref_Cyl
 Libs_unit_test = In directories above
   
Hard_code_learning (Play/Learn by example)
  Download 2022standard, Uncompress, untar.
  Open Openscad (AppImage 2021.01-x86_64).
  Load Learn_Hard1A_v1_0_0.scad
  Press F6. Nothing happens.
  unRem block, Press F6 and render.
  See code example come to life.
  Change parms. Destroy code. Reload. Repeat.
Procedure for use
  Download 2022standard,uncompress,untar.
  Delete all files in root except template
  Copy template to new file name
  Edit new filename
   
Author
 Stephen George
 3rd March 2023
Contribute (LOL)    
 Buy me a coffee =
 Talk to me = Sure! Buy me a coffee. I think there is a message feature on the coffee site.
 Bugs & Finance = TBA
 RFC = TBA