r/SpringBoot • u/superman041019 • Jun 04 '24
Never tried learning from docs
I have always seen people recommending the docs for java and spring/spring boot until now I have been learning from online tutorials and doing stuff they teach there along with them but yeah I am not getting much success in interviews as of now how bad is my learning strategy. I completed the whole Chad Darby Udemy Spring boot course and in the last interview the interviewer asked me about patch and optional mapping which weren’t once used in that tutorial so I didn’t know anything of them . What changes should I make?
27
Upvotes
9
u/g00glen00b Jun 04 '24
I don't think learning from the docs would help you. Sure, the docs contain many small details that courses or tutorials might skip over, but I don't think you should memorize those.
I also don't think you need to follow more Spring Boot courses. You probably already know the fundamentals. I think it's more useful now to learn about generic programming concepts.
With "patch mapping" I assume the interviewer meant
@PatchMapping. I recommend reading about REST API best practices. For example, this article mentions the concept of PATCH.With "optional mapping", I assume the interviewer meant
Optional.map(). This is completely unrelated to "patch mapping" though, so I'm not sure. TheOptionalclass is part of Java's functional programming kit. In that case, I would recommend reading about functional programming in Java. For example this article mentions the use ofOptional.While neither of the articles are Spring Boot specific, with your fundamental knowledge you should be able to apply them within Spring Boot.