Usage of the attribut pattern

I have a question, i am starting my personal project and i have a question about the attribute pattern, is it necessary to use the K and V?
for example in the add_ specs field it has by those names and then the name that was the before name of the field so that is my question, is it necessary?

Hey @Jurgen_Ruegenberg_Buezo,

The use of k and v is not necessary. You can use any variables or apply the pattern in any way you see fit. :smile: The only reason k and v are preferred is that moving to a key/value convention allows for the use of non-deterministic naming and the easy addition of qualifiers.

Adding a blog post on Attribute Pattern to further cement your understanding of the concepts: Building with Patterns: The Attribute Pattern

Regards,
Satyam

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.