@ekaitz_zarraga Essentially, yes. If your code is heavily OOP, then you have encapsulated the data in objects and breaking that open would be a lot of work. So either you create a record type for each object, or if your language does not have record types, you mimic it using a map with a kind of typename field (which is what I called a "tag").
Then you can at least patter match against that. And if your tags have some structure, you can mimic inheritance by partial matching and synonyms.
Notices by Wim 🈂️ (wim_v12e@cybre.space), page 2
-
Wim 🈂️ (wim_v12e@cybre.space)'s status on Monday, 15-Jul-2019 13:33:08 CEST Wim 🈂️ -
Wim 🈂️ (wim_v12e@cybre.space)'s status on Sunday, 09-Jun-2019 21:00:06 CEST Wim 🈂️ @ekaitz_zarraga @kai Oh! Very happy for you! When I had it, I couldn't move at all for some time.
-
Wim 🈂️ (wim_v12e@cybre.space)'s status on Monday, 29-Apr-2019 22:12:16 CEST Wim 🈂️ @ondiz "Real programmers don't comment their code. If it was hard to write it should be hard to read"
-
Wim 🈂️ (wim_v12e@cybre.space)'s status on Saturday, 16-Feb-2019 12:36:55 CET Wim 🈂️ @ekaitz_zarraga Thanks! I prefer functional programming over OOP so that is reflected in my talk.
-
Wim 🈂️ (wim_v12e@cybre.space)'s status on Thursday, 25-Oct-2018 22:39:25 CEST Wim 🈂️ Laziness, one of the three virtues of the programmer!
I can relate to your views. I code to solve problems, for myself and others. And because it's fun.