Programming Headache

Everytime i start programming i end up taking way longer than expected to finish a small part. Like android i started yesterday morning to build authentication and home screen and by the time I finished it was around 8pm. How do you guys save time and build software quickly and efficiently?

There is no short, headache ni kawaida.
sometimes, you find yourself scratching your head over a very small bug

Practice, follow different tuts where they use different methods to solve the problem. With time utajua how to select the fastest method or how to finish within the set time limit

Programming ni ya magwinji though iko sawa mimi nlifanya nkaona wacha tu… kama wewe si mtu wa patience achana nayo roho safi

If it’s your first time doing that I think a day is impressive, with time after you deliver several projects then a new project will mostly be copying from a working system which makes it faster.
Plus with time you build libraries that you reuse thus saving you time.