#factory-method-pattern

[ follow ]
#python
Python
fromRealpython
18 hours ago

Implementing the Factory Method Pattern in Python Quiz - Real Python

The quiz tests understanding of the Factory Method Pattern in Python.
Python
fromRealpython
18 hours ago

Implementing the Factory Method Pattern in Python Quiz - Real Python

The quiz tests understanding of the Factory Method Pattern in Python.
fromMedium
1 week ago

The Best Way To Work With Claude Code

Voice interaction with Claude Code significantly enhances the user experience by allowing for faster input. Speaking is often 2-3 times quicker than typing, which can streamline the process of giving commands.
Typography
Java
fromInfoWorld
1 week ago

Basic and advanced Java serialization

Order in custom serialization must match exactly to avoid data corruption or deserialization failure.
Scala
fromMedium
2 weeks ago

Breaking Scala's Nil with Java Reflection

Java reflection in Spring Data MongoDB caused a bug in Scala's Nil singleton, revealing a mismatch between Scala's guarantees and JVM behavior.
JavaScript
fromMedium
2 weeks ago

Metaprogramming: teaching the compiler to explain your data.

Contextual information enhances debugging by providing field names, types, and nested structures.
#ai-driven-development
fromTechzine Global
3 weeks ago
Software development

Vibe coding can't dance, a new spec routine emerges

Vibe coding uses AI agents to generate code from high-level prompts, but vague instructions cause hallucinations and incompatible code components that fail during integration.
fromInfoWorld
1 month ago
Software development

Coding for agents

AI agents reward explicit, consistent, well-documented code over clever or personally-preferred approaches, fundamentally changing software engineering standards toward machine-legibility.
Software development
fromTechzine Global
3 weeks ago

Vibe coding can't dance, a new spec routine emerges

Vibe coding uses AI agents to generate code from high-level prompts, but vague instructions cause hallucinations and incompatible code components that fail during integration.
fromInfoWorld
3 weeks ago

We mistook event handling for architecture

Events are essential inputs to modern front-end systems. But when we mistake reactions for architecture, complexity quietly multiplies. Over time, many front-end architectures have come to resemble chains of reactions rather than models of structure. The result is systems that are expressive, but increasingly difficult to reason about.
React
UX design
fromAdamsilver.io
1 month ago

Why designing in code makes you a better designer

The web has inherent properties like fluidity and vertical stacking; designing with these properties rather than against them creates better, more functional digital experiences.
DevOps
fromMedium
3 weeks ago

System Design - Designing Intelligent UIs as MCP Client

MCP is a standardized interface enabling AI models to dynamically discover and invoke tools, APIs, and capabilities through schema-driven contracts rather than hardcoded integrations.
Java
fromInfoWorld
2 weeks ago

9 reasons Java is still great

Java maintains prominence through balancing stability with innovation, community-driven governance via the Java Community Process, and continuous evolution incorporating functional programming, concurrency, and cloud computing advances.
#claude-code
UX design
fromMedium
1 month ago

Claude Code Best Practices

Plan before executing when using Claude Code to avoid spending excessive time fixing errors and redirecting the AI toward correct solutions.
UX design
fromMedium
1 month ago

Claude Code Best Practices

Plan before executing when using Claude Code to avoid spending excessive time fixing errors and redirecting the AI toward correct solutions.
Java
fromInfoWorld
3 weeks ago

Java future calls for boosts with records, primitives, classes

Java is advancing record creation, primitive boxing, and pattern matching through multiple JEPs to improve code conciseness and type handling capabilities.
Typography
fromEvery
1 month ago

How to Design Software With Weight

Every's design process prioritizes tactile, tangible interfaces by studying physical objects like vintage radios and light switches to make digital elements feel real and touchable on screen.
fromRealpython
4 weeks ago

Python Descriptors: An Introduction Quiz - Real Python

By working through this quiz, you'll revisit the descriptor protocol, how .__get__() and .__set__() control attribute access, and how to implement read only descriptors. You'll also explore data vs. non-data descriptors, attribute lookup order, and the .__set_name__() method.
Python
Software development
frominfiniteundo.com
1 month ago

Falsehoods programmers believe about time

Common programming bugs stem from widespread misconceptions about how computers and calendars handle time, including daylight savings, leap years, and clock synchronization issues.
fromInfoWorld
1 month ago

An ode to craftsmanship in software development

Your coding apprentice can build, at your direction, pretty much anything now. The task becomes more like conducting an orchestra than playing in it. Not all members of the orchestra want to conduct, but given that is where things are headed, I think we all need to consider it at least.
Software development
Artificial intelligence
fromRlancemartin
2 months ago

Agent design patterns

Effective autonomous agent design requires careful context engineering and providing agents with a computational environment, persistent storage, and multi-layer tool-based action spaces.
fromRealpython
1 month ago

What Does Python's __init__.py Do? - Real Python

A directory without an __init__.py file becomes a namespace package, which behaves differently from a regular package and may cause slower imports. You can use __init__.py to explicitly define a package's public API by importing specific modules or functions into the package namespace.
Python
Python
fromRealpython
1 month ago

Duck Typing in Python: Writing Flexible and Decoupled Code Quiz - Real Python

An interactive quiz assesses understanding of duck typing in Python, covering its definition, advantages, disadvantages, behavior-based interfaces, protocols, special methods, and alternative approaches.
fromRubyflow
1 month ago

Servactory - Typed service objects with declarative actions for Ruby

The core idea is three separate attribute layers: inputs (what comes in), internals (working state), and outputs (what goes out). Each is a distinct declaration with its own namespace and type checking. Combined with declarative make calls that define action order, the data flow through a service is visible at a glance: class Payments::Process < ApplicationService::Base input :payment, type: Payment internal :charge_result, type: Servactory::Result output :payment, type: Payment make :validate_status! make :perform_request! make :handle_response! make :assign_payment
Artificial intelligence
fromZDNET
1 month ago

7 AI coding techniques that quietly make you elite

Agentic AI tools make a single developer far more productive, enabling rapid cross-platform product creation by encoding design systems, user profiles, and permanent bug lessons.
Web frameworks
fromMedium
2 months ago

Is separation of concerns a goal or a lie?

Separation of concerns makes frameworks like React and Tailwind beneficial by dividing complex problems into manageable parts, improving team collaboration and long-term maintainability.
#javascript
E-Commerce
fromMedium
1 month ago

Why Pattern Matching Matters

Pattern matching encodes data shape in the type system, eliminating brittle imperative branching and improving correctness in domain-driven systems like digital commerce.
E-Commerce
fromInfoQ
2 months ago

Theme Systems at Scale: How To Build Highly Customizable Software

Theme systems enable highly customizable, scalable storefronts that let millions of merchants change appearance and layout while maintaining stable performance under massive traffic.
#java
fromInfoQ
2 months ago
Java

Java Explores Carrier Classes to Extend Data-Oriented Programming Beyond Records

fromInfoQ
2 months ago
Java

Java Explores Carrier Classes to Extend Data-Oriented Programming Beyond Records

Artificial intelligence
fromInfoQ
2 months ago

Working with Code Assistants: The Skeleton Architecture

Combining Vertical Slice architecture with Dependency Inversion and a Skeleton of base classes constrains AI code assistants' context, producing safer, consistent, and maintainable generated code.
Artificial intelligence
fromInfoQ
1 month ago

[Video Podcast] The Craft of Software Architecture in the Age of AI Tools

Software architecture must be rethought for the age of AI tools, integrating design, platforms, APIs, delivery, and practical experiential guidance for real-world practitioners.
Python
fromRealpython
2 months ago

Intro to Object-Oriented Programming (OOP) in Python - Real Python

Object-oriented programming fundamentals in Python: defining classes, instantiating objects, and basic inheritance to write maintainable, less redundant code.
#scala-3
#spring
Software development
fromInfoWorld
2 months ago

Is code a cow path?

AI coding agents will progressively assume writing, reviewing, and testing roles, potentially eliminating the need for human review and traditional code artifacts.
Artificial intelligence
fromDri
2 months ago

Software as clay on the wheel

Automated, stateless iterative AI loops that read specifications, implement tasks, run tests, and commit passing code enable reliable, scalable progress on complex development projects.
Java
fromMedium
3 months ago

I Ignored These JPA Methods for Years-Now Spring Boot Application 10 Faster

Use JpaRepository.existsById() and saveAll() with proper Hibernate batching to reduce queries, lower memory usage, and significantly improve performance.
#scala
fromv buckenham
2 months ago

Some thoughts about tool design and AI

The normative form for interacting with what we think of as "AI" is something like this: there's a chat you type a question you wait for a few seconds you start seeing an answer. you start reading it you read or scan some more tens of seconds longer, while the rest of the response appears you maybe study the response in more detail you respond the loop continues
Artificial intelligence
Python
fromThepythoncodingstack
2 months ago

Planning Meals, Weekly Shop, Alternative Constructors Using Class Methods

Use alternative constructors via class methods to build Meal and WeeklyMealPlanner objects and protect internal state with read-only properties and shallow copies.
Software development
fromMedium
5 months ago

The Architect and the Apprentice: Retaining Control in the Age of Code Generation

Uncontrolled AI coding agents increase code churn and duplicated code, accelerating technical debt and forcing developers to spend more time cleaning and maintaining code.
fromMedium
2 months ago

3 Practical Tips for Making Most of Claude for Coding UI Components

Claude is a very powerful AI tool that works especially well for coding. It's possible to code entire applications or services in Claude. That's why Claude quickly becomes a very important tool in a product designer's toolkit. It allows us to move quickly and build not only fast interactive prototypes, but also code UI components ready for implementation. To make this guide more specific, I will use Claude to code a sign-up web form.
Artificial intelligence
fromInfoWorld
2 months ago

Six reasons to use coding agents

One thing I always do when I prompt a coding agent is to tell it to ask me any questions that it might have about what I've asked it to do. (I need to add this to my default system prompt...) And, holy mackerel, if it doesn't ask good questions. It almost always asks me things that I should have thought of myself.
Software development
[ Load more ]