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

Bank

 A bank asked me to apply for their job. I was a bit skeptical whether it was scam. After a few conversations, it seemed legit. They needed my updated resume. I didn’t have. Go back to my old canva, then dragged out the old one. I realised I have a Word document ones after I sent the pdf ones. I should have just used the Word document because it was the latest. Anyway, I don’t have finance background so I might not get it. Based on their requirements, I think there are lots of things I have not yet explored. However, if I can finish my task earlier, maybe I can go for a test or two to see what are the skills that I lacked of. I felt a bit off because I just kept on doing uwp… I also needed to back up against my current job because I felt insecure about it, based on the recent months I was there. I am not sure if they want me there just to solve few issues then once solved then don’t need me anymore. Because every moment I was there, I felt a bit like it. They are also spending quit...

Peculiar

 Not sure how I should feel. Good or bad. Mum used to be very good with tech. Well, yesterday, have spent two hours over the phone just to help her log in to my account. In the end, she only managed to download and update her Netflix app on her iPad. iPad actually a bit different from Android so she has lots of difficulty linking App Store is equivalent to Google Play… When I said search, she literally search by her eyes… I cannot help but laugh at myself. Programmer and code did the same. I am not around so I can only do these for her. Sigh… Should have gave her a tutorial during CNY…  My screen is back… The touch screen I bought previously so that it is easier for me to do work. The pc that I bought previously is a good investment in the end. Thank God or the manufacturer that both working fine so far.

Funny Things

 Scam has definitely affect everyone daily like never before. When my cousin got my number and wants to connect, she put a photo on whatsapp’s profile photo and also sent me her picture to verify she wasn’t a scammer. The fact is that scammers did that too. In fact the more professional the photo was, the more likely it is a scam. When I applied a job, I will also worry it is a scam. Especially no email and I cannot find much on the internet. The only thing that makes the interview sounded right was the interview ways of speaking and a more lifelike profile picture. I chose to believe it and if it hadn’t post on mycareersfuture, I wouldn’t have believe the job was legal when email has problem. I thought email was always the sign of legitimate business or scam. In 2024, anyone can doubt now. I can receive a legitimate email or message that was scam and also non-legitimate as not scam… How inconvenient so I treated all as a scam. Better safe than sorry. Most people fell to the scam i...