3 个仓库
Implementation of traits that allow custom data types to be rendered as formatted strings.
Distinguishing note: Focuses on the trait-based implementation of string conversion for types, not parsing format strings.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Custom String Representations. Refine with filters or upvote what's useful.
This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre
Shows how to implement formatting traits to control the string representation of custom types.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches overriding str for custom object string representations.
本项目是 Go 编程语言综合指南的中文翻译版。它作为一个本地化的教育资源和技术手册,旨在为语言语法、设计和软件开发提供指导。 该资源涵盖了广泛的 Go 语言教育内容,包括编程模式的实现和系统设计。它包含翻译后的课程和示例,重点关注并发和接口使用等核心语言特性。 内容跨越了多个能力领域,包括语言基础、数据建模、运行时反射和内存管理。它还详细介绍了软件架构、错误处理、质量保证和 Web 网络编程。 该文档结构为技术手册,包含翻译内容、勘误和修正,以确保学习的准确性。
Describes how to implement custom string-returning methods to control type formatting during printing.