#object-methods

[ follow ]
#python
Python
fromdeath and gravity
2 hours ago

Learn Python object-oriented programming with Raymond Hettinger

Subclassing in Python is a technique for code reuse, emphasizing operational views over traditional hierarchical models.
Python
fromdeath and gravity
2 hours ago

Learn Python object-oriented programming with Raymond Hettinger

Subclassing in Python is a technique for code reuse, emphasizing operational views over traditional hierarchical models.
#scala
Scala
fromMedium
4 days ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
Scala
fromMedium
1 week ago

100 Scala Interview Questions and Answers for Technical and Functional Roles

Preparing for a Scala interview requires understanding functional programming concepts and structured questions for effective evaluation.
fromArtima
2 months ago
Software development

A (Brief) History of Object-Functional Programming

Scala matured into a practical object-functional language embraced by industry, combining language evolution and hybrid paradigms to reach production readiness.
fromMedium
2 months ago
Software development

JSON Serialisation Explained with a Recipe

Strong domain modeling, Circe JSON codecs, and golden tests help maintain stable JSON contracts amid customization, floating-point handling, and backward compatibility.
Scala
fromMedium
4 days ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
Scala
fromMedium
1 week ago

100 Scala Interview Questions and Answers for Technical and Functional Roles

Preparing for a Scala interview requires understanding functional programming concepts and structured questions for effective evaluation.
Software development
fromInfoQ
1 week ago

Dynamic Languages Faster and Cheaper in 13-Language Claude Code Benchmark

Dynamic languages like Ruby, Python, and JavaScript are faster and cheaper for AI coding tasks compared to statically typed languages.
Python
fromRealpython
6 days ago

Implementing the Factory Method Pattern in Python Quiz - Real Python

The quiz tests understanding of the Factory Method Pattern in Python.
Java
fromInfoWorld
2 weeks ago

Basic and advanced Java serialization

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

Metaprogramming: teaching the compiler to explain your data.

Contextual information enhances debugging by providing field names, types, and nested structures.
fromRubyflow
3 weeks ago

The tool I wish I had 25 apps ago

Every iOS app I've shipped over the last nine years started the same way: a Rails developer with a great web app, users who want it in the App Store, and weeks spent on Xcode, signing certificates, and Swift boilerplate that has nothing to do with the actual product.
Artificial intelligence
fromMedium
4 weeks ago

The AI Coding Pitfalls Report: Facts, Trivia, and Structural Solutions

Engineers must shift from treating LLMs as chatbots to treating them as compilers, implementing a dedicated diagnostic phase to identify AI-specific defects before code merges.
#java
Java
fromMedium
3 weeks ago

Java vs Kotlin vs Scala: Which to Choose in 2026

Java, Kotlin, and Scala serve different audiences and problems despite running on the JVM.
fromInfoQ
2 months ago
Java

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

Java
fromInfoWorld
2 months ago

Java use in AI development continues to grow - Azul report

Java usage for AI development increased to 62% in 2026, with enterprises embedding AI into existing Java systems and migrating toward non-Oracle OpenJDK.
Software development
fromMedium
2 months ago

Kotlin vs Scala vs Java: Which Language Wins? (2026)

Choosing between Java, Kotlin, and Scala directly impacts project outcomes because they differ in stability, market share, developer satisfaction, cost, and specialization.
Java
fromMedium
3 weeks ago

Java vs Kotlin vs Scala: Which to Choose in 2026

Java, Kotlin, and Scala serve different audiences and problems despite running on the JVM.
fromInfoQ
2 months ago
Java

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

Scala
fromMedium
3 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.
Java
fromInfoWorld
3 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.
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.
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.
Artificial intelligence
fromZDNET
1 month ago

AI is getting scary good at finding hidden software bugs - even in decades-old code

AI models can effectively identify decades-old bugs in legacy code, but this capability also enables hackers to exploit vulnerabilities in deployed systems.
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.
Software development
fromInfoWorld
1 month ago

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.
Java
fromInfoQ
3 weeks ago

Java 26 Delivers Language Innovation, Library Improvements, Performance and Security

Java 26 introduces 10 JEPs including improvements to libraries, language innovation, performance, and security, with five features still in preview or incubator stages.
Scala
fromMedium
1 month ago

100 Scala Scenario-Based Interview Questions and Answers

Scala technical interviews prioritize practical problem-solving and design reasoning over syntax memorization, with scenario-based questions evaluating real-world technical capabilities.
Java
fromOracle
4 weeks ago

The Arrival of Java 26

JDK 26 introduces ten significant enhancements including language innovations for AI integration, performance improvements through garbage collection optimization, and cryptographic security enhancements for better application security.
Artificial intelligence
fromMedium
1 month ago

Top 7 Claude Code Plugins

Claude Plugins extend capabilities by integrating external tools and APIs, while Skills teach Claude to perform tasks through reusable prompt workflows.
#scala-interview-preparation
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.
fromRealpython
1 month 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
fromInfoWorld
1 month ago

What I learned using Claude Sonnet to migrate Python to Rust

If there's one universal experience with AI-powered code development tools, it's how they feel like magic until they don't. One moment, you're watching an AI agent slurp up your codebase and deliver a remarkably sharp analysis of its architecture and design choices. And the next, it's spamming the console with "CoreCoreCoreCore" until the scroll-back buffer fills up and you've run out of tokens.
Software development
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.
E-Commerce
fromMedium
2 months 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.
Data science
fromTreehouse Blog
2 months ago

Beginning SQL: 10 Essential Query Patterns

Recognizing common SQL query patterns enables beginners to retrieve, filter, summarize, and reason about data effectively across industries.
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
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.
Ruby on Rails
fromRubyflow
2 months ago

Static typing in Ruby only works if type narrowing reflects how we actually write Rub

Type Guard in Steep enables real type narrowing for union types, framework predicates like present?, and user-defined methods, improving Rails type checking.
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
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
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.
fromMedium
2 months ago

Algorithms Are Just Real Life, Formalized

Which Algorithm Is This? If you step back, this maps almost perfectly to the Top K Frequent Elements problem.We usually solve it for integers in a list. Here, the "elements" are audience profiles age and body-type combinations. First, define what an audience profile looks like: case class Profile(age: Int, height: Int, weight: Int) What we want is a function like this:
Scala
fromInfoWorld
1 month ago

Claude Sonnet 4.6 improves coding skills

Anthropic has launched Claude Sonnet 4.6, an update to the company's hybrid reasoning model that brings improvements in coding consistency and instruction following, Anthropic said. Introduced February 17, Claude Sonnet 4.6 is a full upgrade of the model's skills across coding, computer use, long-context reasoning, agent planning, design, and knowledge work, according to Anthropic. the model also features a 1M token context window in beta.
Artificial intelligence
Software development
fromRubyflow
1 month ago

A major shift in Ruby didn't come with new syntax - it came with fewer assumptions

Cannot access external URLs; please paste the article text or excerpts so I can produce the requested structured analysis.
#scala-3
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.
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
fromInfoWorld
1 month ago

Abandoned project linking Java, JavaScript makes a comeback

The Detroit project revives native JavaScript and Python script engines for the JVM using Chrome V8 and CPython, with plans to become an official OpenJDK project while leveraging the Foreign Function & Memory API.
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.
Python
fromPythonmorsels
2 months ago

All iteration is the same in Python

All Python iteration forms use the same iterator protocol; iterating over an object yields its defined iteration items (e.g., dictionary yields keys, string yields characters).
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.
Software development
fromInfoWorld
2 months ago

Go 1.26 unleashes performance-boosting Green Tea GC

Go 1.26 introduces self-referential generic parameters, expression operands for new, go fix modernizers, reduced cgo overhead, and multiple runtime and performance improvements.
Software development
fromInfoWorld
2 months ago

8 reasons developers love Go-and 8 reasons they don't

Go is a simple, C-like programming language created at Google to simplify building concurrent, networked, large-scale software with safety, performance, and easy learning.
Software development
fromMedium
2 months ago

I Can't Believe Rust Is Replacing Java

The X recommendation system was fully rewritten and open-sourced using only Rust and Python, replacing previous Java and Scala implementations.
Software development
fromPybites
2 months ago

7 Software Engineering Fixes To Advance As A Developer - Pybites

Finish one practical project and adopt system-level skills, feedback loops, and mindset shifts to move from hobbyist coding to professional software engineering.
[ Load more ]