<div dir="ltr">Hi Anindya,<br>If you are going to refactor the codebase you can go through the following link which is one of the best resources to learn about refactoring in my knowledge.<br>Spend some time with this.<br>-> <a href="https://refactoring.guru/refactoring/what-is-refactoring">https://refactoring.guru/refactoring/what-is-refactoring</a><br>-> Learn to identify code smells: <a href="https://refactoring.guru/refactoring/smells">https://refactoring.guru/refactoring/smells</a><br>-> Execute  ^_^<br><br>Regards <br>- Vaibhav</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 8, 2020 at 8:09 PM Anindya Kundu <<a href="mailto:anindyaak007@gmail.com">anindyaak007@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'm considering reorganizing the modules and cleaning up the complete codebase in a gradual manner - something I briefly worked on, during this summer. It is to my understanding that Music Blocks was built progressively, and there's still scope for a lot of additions, but I've observed some significant issues.</div><div><br></div><div>I feel the user experience isn't quite appealing. For instance, the application feels bulky, the mouse interaction isn't very good, there are UI lapses here and there, etc. As for the code, I feel we are lacking structure. The JS modules have become disorganized, there's lots of deprecated code spread throughout, and the scripts do not stick to a proper convention.</div><div><br></div><div>Many times it becomes a challenge to figure out the source of a bug or add/modify some code. Also, it is quite easy to generate an obscure bug while fixing something else. Moreover, several components are convoluted among themselves. I've only worked on the MVC refactoring of a few components, but I believe it should be done all throughout for it to bear advantages.</div><div><br></div><div>Therefore, I'm planning on rebuilding a structure under the hood, primarily for better code management, but also to enhance the performance of the application. Any thoughts or suggestions?</div><div><br></div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2" color="#666666"><i><span style="font-family:"arial narrow",sans-serif">Anindya Kundu</span></i></font></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2"><span style="font-family:"arial narrow",sans-serif"></span></font></blockquote></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>