Блог пользователя chu65536

Автор chu65536, история, 3 месяца назад, По-английски

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?

  • Проголосовать: нравится
  • +9
  • Проголосовать: не нравится

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

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

    • »
      »
      »
      3 месяца назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

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

      • »
        »
        »
        »
        3 месяца назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

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