[CleanCode] Meaningful Names [Part 2]

In this series of posts , I would try to share with you some of my highlights on Clean Code Chapters. In this post my focus would be on Chapter 2. This is the second post discussing Chapter 2 so if you didn't read the first one , please go and check…

[CleanCode] Meaningful Names [Part 1]

In this series of posts , I would try to share with you some of my highlights on Clean Code Chapters. Names are everywhere in software. We name our variables, our functions, our arguments, classes, and packages.Because we do so much of it, we’d better do it well. What…

[Clean Code] Some thoughts about Clean Code ?

In this series of posts , I would try to share with you some of my highlights on Clean Code Chapters. In this post my focus would be on chapter 1. We can define Clean code as code that always looks like it was written by someone who cares. "I…

Cursor Adapter in Android

Cursor adapters provide a high-performance way to scroll through long lists of data that are stored in SQLite.The consuming code must define an SQL query in a Cursor object and then describe how to create and populate the views for each row. The CursorAdapter fits in between a Cursor…

Sorting elements coming from db without repeating code

This week I was working on developing an ASP.NET Web Api service which would talk with a javascript client and one of the needed features was sorting. The case was that we need to get a feed of items sorted by each field of our database entity (I will…

How to get the Hijri Date in Windows 8.1 Accurately?

I was trying to get the Hijri date while developing a windows 8.1 app but it wasn’t an easy task to do so especially when you know that unlike the normal .Net Framework , you can’t access Hijri Calendar Class here although it is available due to MSDN…

ACM Solution Manual

Today I received some questions from a student in Ahram Canadian University about ACM and how he can join and prepare himself so as a try to answer all these questions, I will write this blog in Q&A style. I hope that all these answers could help people…

How could you master any technology easily ?

When I first heard about Windows 8, I decided that I want to learn how to build apps for this new and promising platform. This was around 2011 and in this time Windows 8 was just a developer preview version. There weren't any tutorials or videos that could help ! I…