So i decided to write on here, see i am newbie coder.
i made a career switch from Sales to Coding (currently writing a post about that).
Been doing coding tutorials and reading a lot of blogs, and believe me when i say i have learnt tons from dev.to.
The set of people here are always eager to share and respond to questions, i feel quite at home.
Back to my internship; task for today was to find a bug on the site: www.timbu.com
Timbu landing page below:
Hotel booking app.
At 1st glance i was captivated by the design and aesthetics and i said to myself, there can't be any bug(s) here :-). I mean this is a very well crafted site, a beginner's dream.
Before i continue, let me explain what a bug is for newbies like me:
"A software bug is an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. The process of finding and fixing bugs is termed "debugging" and often uses formal techniques or tools to pinpoint bugs, and since the 1950s, some computer systems have been designed to also deter, detect or auto-correct various computer bugs during operations.
Most bugs arise from mistakes and errors made in either a program's source code or its design, or in components and operating systems used by such programs. A few are caused by compilers producing incorrect code. A program that contains a large number of bugs, and/or bugs that seriously interfere with its functionality, is said to be buggy (defective). Bugs can trigger errors that may have ripple effects. Bugs may have subtle effects or cause the program to crash or freeze the computer. Other bugs qualify as security bugs and might, for example, enable a malicious user to bypass access controls in order to obtain unauthorized privileges." - Source: wikipedia
Now that we know we can't squash computer bugs or use insecticides, then how do we fix (kill) the bugs?
1st it will help to identify the bug (which i did after clicking on every possible link)See below:
See below a site with step by step guides on resolving bug issues:
For 1st post, this is quite lengthy, i hope i did not bore you
Awaiting honest reviews.
Single Responsibility Principle (or SRP) is one of the most important concepts in software development. The main idea of this concept is: all pieces of software must have only a single responsibility.