Forum Discussion
EnTerr
9 years agoRoku Guru
"menghao" wrote:"EnTerr" wrote:
You are free to use whatever patterns you please, if you at all please. <shrug/>
Just know "m" in main and a node are completely different variables.
Maybe my expression is not clear, I believed the question I asked were why and how not can I use? no need for the mocking. Of course I know m in main and node are different, otherwise, the code I wrote should have worked. But thanks for your reply anyway.
Not mocking you. The first sentence was trying to convey that software design patters are just "kata", choreographed patterns of "movements". It is up to you as developer to choose whether and which to use in a particular "fight", as appropriate. You cannot blindly expect the "forms" that they are to work everywhere.
The second line was answering your why in "Does anybody have any idea of why is that?".
Now if you meant to ask "why there is no visibility between different parts when programming for SG", i think the unequivocal answer is "bad design". Bad design in the sense that instead of dealing with the real issues, it was a cover-up where multithreading was rushedly painted over, leaving some dangerous structural issues under the stucco