Posts

Blog RefWyWen = new Blog(); //This blog is about refactoring: why and when should be done?.

Image
These days I'm enjoying reading "Clean Code: A Handbook of Agile Sofware Craftsmanship " by Robert C. Martin, which I recommend any software developer to read because it makes me feel smart and dump at the same time! smart when I shout: That what I always think how code must be written! and dump when seen my code is messy as hell! So here I will try to summarize what I find the "two" most common mistakes that we as software engineers fall into most the time by noticing my Smart/Dump moments, and those mistakes not only brings more bugs to our code but also makes the code harder to maintain to fix those bugs. First Mistake: Naming wrongly! The book starts with the following image: which makes me really thinking: "what makes me say WTF while reading a code?" and I notice my self saying that -even on my own code- on two scenarios: Names! Reading the name of a class, variable, method ... etc, that is shorted in a way that lost its meaning or...

How to start a new Task || project ?

I always have that issue of starting a new thing, whatever that thing was: a requested task, a project, documentation to write, or even a function to be refactored on a small code. It's a moment of freezing and fear, what I should do? where to start first? and how much time it takes to be done? and of course, the most annoying question is the last one: How much time it will take, when can I deliver the request? Solving this, Dr. Jordan Peterson has a nice technique to deal with a starting-new-thing phobia, is just to start! he describes the fear of starting as fear of failure, however, -he continued to argue-one cannot avoid failure unless there is a solid material to work on, something to fix... Something! and there is nothing to fix unless you start, so one must start anyway. By this technique, you will find your self starting the documentation from the middle, your code from "Utils" classes, and your task from the " Dears, Done. " email, and it is not ...

Implementing Firebase on ionic project: Errors and solutions - 1 of 2: Client side

We were working on a Mobile Application project for the internal employees in the company, it was build on ionic as I mentioned before here  , The reason of building it on ionic is that: ionic is hibered and for some extend its fast, and Angular is flexible on coding.  So, we decided to use onesignal push notification client to push our notification, rather than its free, it was clear and easy to use because of it's will written documentation, and the website is opened on Sudan.  But..  Suddenly,  onesignal website was blocked from Sudan, but the push notification API for the server side was working,  Then the API stopped and to work you have to run the code on Server that access the internet through VPN. but still you can recieve the notification on the phone without no issues.  Then they even blocked the client side, and to receive notification the phone must access the internet through VPN! and this is impossible to be implemen...

The Failure of Building Remote Development Environment

Image
Before ... The Project that we are working on This days I am working on project that its end result is a Mobile Application for DAL Engineering Division Employees on DAL Group .  The main objective of the App is to make the employee communication with the company HR department easier. so the employee can fill his requests (leave, loan ...) by the mobile application, therefor the submission and the approval of the request will be automated.  Moreover, HR department wont to make their announcements for the employee faster and on the hand, so each employee can know his KPIs, the listed courses that HR assigned him for .. etc.. etc. Its a big project that contains web APIs in the back-end, and heavy systems integration on the database layer (Employee management system, And Employee Payroll system, which developed internally). It will also contains an Admin web application to push to employees a certain  type of notifications and assign to employee courses ...

What a Heck is CoderXCoder ?!

This my first post at blogger and it will not contain something useful! all I'm doing right now is figuring out how this blogger thing work? You still here?  Ok..  Intro.. Since you continue reading I will give some information about who am I and what this blog will talk about. My name is Ahmed AbdElmoniem Hassan, long name huh? you can call me Ahmed Joum, or  Hulagu   as my work mates calls me.  I'm a Software Engineer  that is doing a lot of things beside my main career that is not Software Engineering, some time I even forgit that I'm a software engineer or even a software developer, starting from my job title currently at DAL Group which is: Business Application Specialist. what dose that even mean? I don't even remember the job description that I sign for, so I did search it  while I writing this actually and found this , and it's literally describe the mess that I am in those days. However, to simplify the description, what I am d...