API design

Java Generics and Collections • Maurice Naftalin & Stuart Marks

Java Generics and Collections • Maurice Naftalin & Stuart Marks

Maurice Naftalin and Stuart Marks discuss the second edition of "Java Generics and Collections," 19 years after the first. They explore the evolution of Java from version 5 to 25, focusing on major shifts like the move toward immutability, the introduction of sequenced collections and streams, and the critical design principles of collection encapsulation. The conversation delves into the anemic domain model anti-pattern, the controversial `UnsupportedOperationException`, and the framework's inconsistent null handling, reflecting on decades of experience with the Java Collections Framework.

Building with MCP and the Claude API

Building with MCP and the Claude API

A discussion with Anthropic engineers Alex Albert, John Welsh, and Michael Cohen about the Model Context Protocol (MCP). They cover its origins as an open standard, best practices for tool design and prompt engineering, and the future of the ecosystem where high-quality MCP servers will become a key competitive advantage.