Skip to main content

Posts

Showing posts with the label switch pattern matching

Tech Conversant Weekly May 22 - Jun 03

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every bi-week, we bring you the latest and most incredible advancements in the tech industry that are sure to leave you feeling inspired and empowered. Stay ahead of the game and be the first to know about the newest innovations shaping our world. Discover new ways to improve your daily life, become more efficient, and enjoy new experiences. This time, we've got some exciting news to share with you! With enhancements on switch expressions and patterns in switch, dealing with exhaustive switch cases both at the compile time and runtime constructs can get deceptive. Having sealed types partially addresses the exhaustiveness of the switch by ensuring type conformity and as with Records patterns and their nesting their component associated also defines the exhaustiveness na

Tech Conversant Weekly Jan 16 - Jan 21

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week as well as a few that seized my attention, Frequently we read properties from file to the application, conversely, we can write to configuration properties file as well from Java  https://youtube.com/shorts/GzuYu6XPaVs Building custom URLs with special characters creates complexities in request mapping on the server-side code. The REST requests are to be intercepted for carrying out preprocessing not only on the URL but on the whole request before delegation to the controller. Create an implementation for ClientHttpRequestInterceptor and override the intercept method, subsequently registering the interceptor onto the rest template, any requests are routed via the implementation. https://www.baeldung.com/spring-restt