Skip to main content

Life is a mistake

 Life is finding the answers from mistakes.

人都在錯誤中找到答案。


I have written a few thousands line of code. I do not want to clear it away despite having many errors. I would patch it up when I found the errors and adding more ridiculous code to it to correct them. Then it caused another problems like a jigsaw puzzle having similar parts and colours. I patched one side but it was more fitting on the other side and you do not know which one has been missing. I looked back at the code, there is actually a shorter better way. I ironed up my heart, delete the code…. and with all the iron heart I have just ironed out, do the edits with clearer picture and a few hundred lines less. Well, could I have done it earlier on? Maybe know. The understandings and realisation of a mistakes came from the patching and they gave me a clearer picture when I am finally tired with patching and catched enough errors to know how bad my code was. Though it is still bad but at least the problem handling is still predictable. Not like a surprise. The only release is to change early and probably save more time than the endless patching of code to fix the mistakes. The structure is first. Like my first program, I realised the structure that I cannot change like I did in test environment. Then my code was done in that environment. If it is different from production, problem will arise. I think the first step is to ensure all structure is same before developing and it should be set first before developing. Never put yourself in a loop also. I tried to do something that I kept on looping myself and actually that loop was very unnecessary. Because it doesn’t matter but because the code is there and I have just that idea out of nowhere it would make it better. Turned out, I only need a few of that line and enough to make the code and checking work.


Story short. My eyes are tired today. I felt wide awake at night. Have been doing work at night. Most of the time I think better at 2 - 3 am… I changed the code around 11-12 pm last night. Successfully implement the first change until 3 am. Now adding more because of that stupid loop in the design. It gave me a lesson, never to design a loop if I were to design. If I did, hell. Summing it up, it is all about learning from mistakes but the answer is, do you get out of it or you decided to continue to dwell in it. 


After travelling down the roads, if you found a shortcut, probably that’s the best answer. If you found it but not use it, that’s another thing. 

Comments

Popular posts from this blog

War and Job

 现在哪里都要打仗了。是不是应该更要花时间找更稳定的工作。其实我的工作才是最没有保障的。应为我还不算这个公司的员工。然后还发现别的事。有问题到最后,我会先被赶走吧。那我现在更应该要找工作吧。不然等到仗都开始打了,我才找就太迟了。。。 Don’t deal with people with hidden agenda. Motto of life.

Missed

  My laptop battery seems to be bulging. I realized I missed the warranty expiry date by few days. I should have checked last month when I spotted it! 我很累。在梦里跑了半天。在找那间教室。写题的时候来不及写最后一句。打开折好的地图,怎么也折不回原本的那样。面试到一半就变成在学课题。有个像黑板那么大的电脑。而且不需要键盘。然后当我终于看到自己要找的教室,我就醒了。很不甘心。我找了那么久。我的背包和钱包还在那里。我赶快回去睡。看看能不能回到梦里继续走到教室。然后就忘了后来的梦。好像是和家人逛街的时候走散了。我找不到手机。。。 然后我又在找人。。。好累。 错过的那么一点。总是那么一点。

 找不到锅。原来我背着。也许以为我不知道吧。我是在进来前知道的。很多事其实不是秘密。早有人说了而且是你最不想知道的人可能早知道了,而我只是提醒。如果提醒错了人,不懂又乱说,我就应该一开始不说。等真的发生了,就看天看地吧。事实不在口中。在证据。我们只是以为。以为没人知道。只是知道的人不说。见好就收。如果不收,把人逼急了,全部吞下的一定被吐出来。初15。预告。