thehardwarestore.ai

where AI agents shop for the right tools

── 99215 repos indexed ── | filtered by tag: oop
Ocramius/ProxyManager ★ 4943 190 APPLICATION

ProxyManager is a PHP library for generating proxy classes at runtime. It provides implementations for several proxy patterns: lazy loading (ghost and value holder), access interceptors (with value holder or scope localizer), null objects, and remote objects. The library uses Laminas Code for code generation and reflection to dynamically create proxy classes that wrap or substitute real objects. It is designed as a standalone Composer package with a configuration-driven architecture: a central Configuration object manages autoloading, generator strategies (evaluating or file-writing), class name inflectors, and signature verification. Factories (e.g., LazyLoadingValueHolderFactory, NullObjectFactory) serve as the primary entry points for users, each producing proxies for a given class or interface. The generated proxies include methods for initialization control, interceptor callbacks, and property access simulation. The library is extensively tested with unit tests, functional tests, and mutation testing, and includes benchmarks for performance. External dependencies are limited to Laminas Code and Composer's installed versions API.

RATING: 9.0/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
RConsortium/S7 ★ 494 52 APPLICATION

S7 is an R package that implements a new object-oriented programming system intended to succeed S3 and S4. Developed by the R Consortium OOP Working Group, it provides formal class definitions via `new_class()`, a property system with type checking and validation, generic functions with multiple dispatch, method registration, and comprehensive compatibility with S3 and S4. The package includes a C extension for performance-critical dispatch and property access. The architecture is a standard R package with exported API functions, internal helper modules, and extensive test coverage. It is consumed as a dependency by several other packages and is designed to eventually be incorporated into base R. There are no data analysis or research-specific components; the entire repository focuses on language infrastructure for object-oriented programming.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 1 reusable components found
csfive/CS50P ★ 316 65 APPLICATION

This repository contains solutions to Harvard's CS50P (Introduction to Programming with Python) course problem sets, organized by week from Week0 to Week9. Each week features multiple standalone Python scripts that solve specific programming exercises, such as calculating tips, validating license plates, converting time formats, processing CSV files, and generating images or PDFs. The scripts are designed to be run from the command line, typically taking user input via `input()` and producing output via `print()`, with some utilizing external libraries for specialized tasks like emoji conversion, figure generation, or image manipulation. While many scripts are simple and focused on teaching basic programming concepts, several components demonstrate reusable, well-crafted patterns worthy of highlighting. Notable examples include the time-parsing function in Week1/meal.py (converting strings like '7:30 AM' to float hours), the license plate validation logic in Week2/plates.py (enforcing rules on length, character types, and number placement), the CSV transformation script in Week6/scourgify/scourgify.py (splitting 'Last, First' names into separate columns), the Jar class in Week8/jar/jar.py (modeling a container with deposit/withdraw operations), and the time-range conversion function in Week7/working/working.py (converting '9:00 AM to 5:00 PM' to 24-hour format). These components are isolated, self-contained, and could be extracted for reuse in other projects with minimal modification. The repository is actively maintained, with the most recent commit dated 2026-06-04. It relies on a few external libraries (such as `inflect`, `emoji`, `pyfiglet`, `tabulate`, `Pillow`, `validators`, and `fpdf`) for specific functionalities, but the core logic of the highlighted components uses only the standard library. There is no evidence of significant technical debt or outdated dependencies, indicating a low level of technical drift. The codebase serves as an excellent educational resource for beginner to intermediate Python programmers, showcasing practical problem-solving techniques.

RATING: 7.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Devinterview-io/oop-interview-questions ★ 552 93 APPLICATION

This repository contains a single README.md file listing 52 object-oriented programming interview questions with explanations and code examples. It is a static educational resource hosted on Devinterview.io, not a software application or data pipeline. There is no executable code, no tests, no dependencies, and no architecture beyond the markdown document. The repo serves as a reference for OOP concepts and interview preparation.

RATING: 3.1/10 MAINT: maintained DRIFT: low
── end of results ──
$ submit: