Skip to main content

Coding practice

 I think something is wrong with how I wrote the code. Sometimes I wonder why certain coders would put everything related to the current page to the same file or at least same folder while some put everything separately on different files and different folder, and some put all the functions in a different file altogether. When none would share the file at all.


While learning Go, I did two different ways for two different projects. One is to separate by the page and another is separated by functions. The second actually gave me a hard time because I just want to change one page and I had to find each function from different page. The first one makes me feel easier when I need to do correction and everything on the same page actually helped in correcting my mistakes or when I need to add things in or modify things. I would know I would miss anything. Well, maybe different coders have different preferences. I do find the naming of the file is important but somehow, if I put a generic one based on the page, it was easier for me to change things. Just some thoughts. I have been looking at codes that people done like a decade ago. It was the same decade I learnt programming and probably why I don’t think I got any better at coding at all.

c# is pretty rigid but well at the same time, it is easier for me to code around. The syntax was a bit weird to begin with and the truth is always check for null :) My code quality was what I am more worried about. I don’t want to be here and my quality of code still as it is ten years ago, now and the future. I better get some time off to learn online otherwise I will never improve. Actually I was wondering if I have got on a job that was meant for Junior Dev or an experienced Dev. What should Junior usually do ah. Signed up lots of courses but never had the time to even attend because always doing the projects that I am learning and doing at the same time. Understanding code is one part and doing is one part on a half done project. I do hope to write one that is totally new though. Hm…


This 29th of Nov will be my one year here. Well, can I be at least one year? or will I move one before that. So far, there is up and down, all in my mind. I am not sure how I really did though. Was I really bad or did I do ok or did I do more than expected? To me, the impression that I had was I didn’t do enough or I wasn’t good enough but what? All about rushing the overdue here and there with no specs at all while sometimes at a lost of what’s going on that nobody had answers to. I do find it adventurous at some point but most of the time a bit frustrated. Laptop wise is the worst of all things. I didn’t dare to off it yesterday so just downloaded the things I need from the laptop. Hopefully all the latest. Now I wonder if I should off it after yesterday. It cleared off certain things including some of my account sign up. Lucky I remember the address to get back so I can test out something that I have just changed. It was fine so far after testing for more than a dozen times. Planning to do more tomorrow. Finger X. 

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...