DEV Community

RS
RS

Posted on • Updated on

πŸ“ Reflective journal: (Java, 6-Week MERN project)

Learned Java (and Spring Boot)

I had the chance to learn Java in school for about 2 months.

Here are my experience and what I learned:

First of all, the fact that Java is a statically typed language was challenging to me and it took some time to get used to it because I'd only had experience of coding in JavaScript and PHP prior to that which are dynamically typed.
At the time I had started to learn Typescript so it was a great timing and it somewhat helped me grasp the concepts and apply knowledge to one another.

Second of all, it was a great opportunity to improve understanding of object oriented programming (OOP).
I thought I already knew enough, but I was actually wrong and got to learn a lot.
For example, I got to learn more in detail in when to use a static class/variable/method depending on the purpose and also to use memory efficiently, and also the concept of interface which I did not use when I used to code in PHP.
I also learned the concept of singleton class which is useful when you want only one instance of a particular class.

For the final project of Java, I decided to create an Admin API for the project I am working on on the side using Spring Boot.
I struggled more than expected especially when manipulating collections.
Java has a number of collection classes and I am still sometimes not confident in which one would be the best fit for my needs as it is easy to forget which one is sorted, order, or scalable, etc.
Also since I was used to using high-order array methods of JavaScript, manipulating data was not as smooth with Java because of lack of experience.

As I was getting a lot of errors relating to types it was very frustrating at times to be honest because when you code in just JavaScript you do not encounter those compile errors.
That, of course, could lead to unexpected run time errors so Typescript is very helpful for that and I realized the importance of it.

I was still able to complete what I wanted to create, but I will probably re-create it with node.js next time with express and Typescript as they are more of my interests and fields.

6-Week MERN stack project

I have also been working on a team project on the side.
We are a team of 7 people (2 backend developers and 5 frontend developers). We also have a project manager and we are conducting the project in a very real-world-like way with a scrum meeting every time discussing issue and progress, etc and also helping out each other.
This is the first time working in a team like this in an English environment and It has been a great and enjoyable experience!
I am in charge of frontend and using React.
So far we've just created components without the logics and are almost done with all the UI, so I am excited for the logic sides in collaboration with the backend team.

Top comments (0)