fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    overloaded code

    Questions & Answers
    2
    2
    543
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      varso last edited by

      Hi
      I have one proble. First i use your avesome program nearlly 3 years and the desktop start to be more and more crazy. I think i overload the code, i dont want to leave this idea of strategy.
      Do you have some advice for me? Thank you so much.

      ......
      overload.jpg

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Yes, this is very ugly. I can feel the problem, because I also have it when I'm programming something. I have seen such pictures many times before and for sure I need to do something about it, but you can also follow some good programming practices.

        • It's important to separate things. I can see you have some groups of blocks separated from other groups and that's fine until you make connections between them. And obviously, when there are too many connections you can't even see what is connected to what anymore. So try to isolate each group of blocks and don't connect one group with another... at least not with so many lines. There is also a block "Run blocks". Also, note that blocks numbers can be also words and if you use "Run blocks" I will suggest to work with blocks who have words instead of numbers.

        • It's important to also combine things. If you have 2 or more groups of blocks that contain the same blocks, try to combine them. The idea is to have only one group of blocks, but to run it multiple times. Something like functions in programming. Well, functions have input arguments, while blocks don't. But Variables can be used in blocks, which is something similar to the arguments.

        • Don't put everything in the visible area. By the way, you can also put some Areas here and there and separate groups of blocks that way.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        S
        A
        M
        R
        G
        T
        G
        Y
        C
        S
        S
        S
        A

        25
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors