From b4fe8e2ce91ac91661f6845904a0ddac6dcf2889 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 24 Aug 2022 05:49:27 +0000 Subject: [PATCH] Update 'Blind Type Definitions' --- Blind-Type-Definitions.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Blind-Type-Definitions.md diff --git a/Blind-Type-Definitions.md b/Blind-Type-Definitions.md new file mode 100644 index 0000000..100c3c1 --- /dev/null +++ b/Blind-Type-Definitions.md @@ -0,0 +1,9 @@ +``` +type ro Pixel U32 +``` + +"Blind" type definitions are called that because they cannot do fancy things +like define new members on the type they inherit, but they can inherit from +primitive types, pointers, and arrays. This can be useful for adding extra +semantics to code, and for defining methods on things that don't need to be a +whole object.