Skip to main content

Reuse

 Reused some of my older code, one return makes me wonder why I can’t load some of the data which was loading fine previously. Then realised the return was not suppose to be there but it should return for another function. This is where if you shared a function, you probably get a lot of different results. Anyway, got me stuck but I deleted some code. Git would probably let me find back. 

There are times that we should always try to use libraries. I don’t mind using internal lib because update and everything can easily be controlled. Third party not so easy and you have to put up with them if they don’t care or something wrong with their release or there is a bug then you cannot do anything until they did. I tried to write my own whenever I can and reduce using external lib unless this lib is really unique and I can write no code like it. 


The function that is shared or split up is really hard to correct. I tried but then changed one affected the rest. Change one thing need to see a lot of functions. Is there a standard code quality? if yes, why there are so many patterns that exist. Which is the correct one? 

Comments

Popular posts from this blog

Contrary

 Parents don’t even want to waste money on broom and fan . Kid bought robot vacuum for wife. Said saving. Parents don’t even have a proper TV , son bought big TV. Everything asked from others and worked so many years, yet never saved anything? how is that possible?  Liars and Cheater. May you get what you deserve.  我的闲是为了让有心机的人不得逞。 Do things for 15 years and wanted to claim the things people done for 50 years.

Doing good?

 Doing good to me or using me? Even if you do good to me also didn’t required you to disrespect or undermine me. Ownself so fake said other people fake. Behind talk bad about other people in front smile and praise. Some more about the people who helped them. Couldn’t help look down on them too. I also did good to you so I can undermine you anyhow I like. I merely do what you do to me you already angry. I treated you like a family and respected you but now you lost all the respect so don’t put the fault on me when you break the string first. Some more your character started showing a long long time ago. You didn’t change, you are getting worst. Treat you like gold, you treated me as shit. Once useless, tried to siam as soon as possible. Worst still, putting me as the problem solved all your problems. I also realised why you suddenly unhappy even more than before when I came back. You are worried I would take all that belongs to you. So just prove how greedy you are. I don’t even hav...

Abuse

 How we have been “abusing” these people? How they live? How bad of us to let them live like these? Big TV in the room not big enough.  Tuition room provided. How bad of us?  Want to see our room from young til now? See who 好吃好住。You woke up 1 hr earlier than me. But I went to bed 2-3 hours later.