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.

Nutshell

 Sometimes kind of envy people who get paid for doing jobs that weren’t done. Thou shalt not envy. Came these words right after I thought so. God is reminding me what I shall do and what not. Do we always follow? Life is full of surprises and things that never happened by what you wished. Learning is always my motto. Doing what I cannot do is my goal. Else, I am actually not sure what shall I do in life. Looking for that particular company which has the same vision as me and the environment that I wished I have? Looking for that particular job that I can do forever and always my safety net? Looking for people who are like minded and work with them. Not easy. Anyway, yesterday was a deja vu. I had a similar dream and sounds like yesterday. On Wednesday, I kind of remember and then well, it did happened. I just have dreams and then it happened. This is not the first time. The world and our brain are full of mystery and wonder. How do deja vu happened. Like you are arranging your mind...