chu65536's blog

By chu65536, history, 3 months ago, In English

My recent biggest problem is that i start coding a problem to soon. Like in my head an idea that should solve a problem will work but when i start actuall coding i often realise that it wont at all. Also this process of realising can be quite time consuming. To fix this i tried to divide a problem into supbroplems and think about every part individually, how i would do this in code. But even then i often miss some small detail and solution falls apart. Any pro tips how i can fix this? How are you guys dealing with this? At what point do you realize that you are ready to code a solution?

  • Vote: I like it
  • +9
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Well I do start coding a problem too soon and then realize that algorithm not work. I think to fix it you must test some special testcases such as boundary value or all same values in an array, ...

  • »
    »
    3 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Often that is not about testcases or boundaries, cause problem might be too hard to test everything by hands

    • »
      »
      »
      3 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Yeah that's why you need to be good at imagination

      • »
        »
        »
        »
        3 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        I dont think so. I think that maybe someone came up with simple list like "what should i check before coding"?