#Java
3 notas · última:
Design Patterns Are Temporary, Language Features Are Forever
The post argues that visitor starts to make more sense once you know pattern matching, and that newer Java features like sealed types and switch pattern matching can replace some old OO patterns.
16 Essential Problem-Solving Patterns
The guide lists 16 DSA patterns with use cases and Java examples, from sliding window and two pointers to knapsack and topological sort, to solve common array, tree, graph, and heap problems.
Implementing rod-cutting
The article compares how the bottom-up rod-cutting algorithm translates from pseudocode into Python, Java, and F#, and argues that ceremony depends on the language and style, not just dynamic versus static typing.
