Friday, May 27, 2022

Week 2. Post 2.

 Today I was asked by my supervisor to build a controller either an @RestController or an @Controllerthat that will return a randomly generated number which returned should be different for every request to the server. I have never worked with controllers especially integrating them with the help of SpringBoot using Java. I was assigned this task 2 days ago but I kept procrastinating with the work. All this time I kept thinking about the task but would try to do all other unnecessary smaller tasks not related to this project instead of this big task. I knew that it would take me a long process to get it done to complete that program. 

I realized that I tend to procrastinate with the things that I do not feel comfortable solving. I am letting the difficulty of the problem prevent me from thinking about the solution. The moment I start thinking about the assignment, I freak out because I simply do not know where to start and also feel insecure asking "dumb" questions. Thus, I decided that if I feel comfortable with completing smaller tasks - let me break that bigger task into small ones. I decided to look at that assignment as not something big and unachievable, but as something I can break into smaller chunks of sub-problems. First, I needed to create watch the tutorial about Springboot; secondly, I had to look into how to create methods in Java; thirdly, I had to learn about class wrappers and creating objects of the class for randomizing. Looking at the assignment through the lenses of smaller sub-problems helped me to complete the program. 

No comments:

Post a Comment

Reflection Summary.

 July 30th marks the last day of my internship. It has been a fantastic experience and surpassed all my expectations, making me sad to see i...