79319560

Date: 2024-12-31 08:58:10
Score: 1
Natty:
Report link

Depends on you use case, I have struggle too, because I work with highly inheritance architecture and it's incredibly annoying to implement all methods of interface to all children. (I'm creating event based simulation similar to Anylogic)

The only working solution I was thinking is creating python style architecture, where everything is map[string]interface{} and create classes and function in functional way to work with that interface.. and when thinking more about it this way probably fixes my rust struggles with same problem.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Erik Palenčík