Programming Recipe
Jump to navigation
Jump to search
A Programming Recipe is a technical recipe that provides a concise set of instructions aimed at solving a specific programming problem.
- Context:
- It can (typically) be a part of a Programming Cookbook, which is a collection of such recipes.
- It can (typically) include code snippets, explanations, and tips that are relevant to the programming language or technology being used.
- It can (often) be contributed by members of the programming community and may undergo peer review before publication.
- It can (often) serve as a learning tool for novice programmers as well as a reference for more experienced developers.
- It can (often) cover a wide range of topics, including but not limited to, searching and sorting, text manipulation, file and filesystem operations, object-oriented programming, system administration, database interaction, web programming, and debugging.
- It can (typically) highlight best practices and idiomatic usage of the programming language.
- ...
- Example(s):
- a C Programming Recipe.
- a Python Programming Recipe.
- a Numerical Recipe (e.g. in Numerical Recipes).
- ...
- Counter-Example(s):
- A Programming Tutorial, which provides a more structured and comprehensive guide to learning a programming language or technology.
- A Programming Reference Manual, which offers detailed documentation of the functions, classes, or modules of a programming language or software library.
- See: Software Documentation, Programming Cookbook, Open Source Contribution, Algorithm Recipe.
References
2005
- (Martelli et al., 2005) ⇒ Alex Martelli, Anna Ravenscroft, and David Ascher. (2005). “Python Cookbook.” In: O'Reilly Media, Inc. ISBN:0596554745
- QUOTE: The Python Cookbook is a collection of problems, solutions, and practical examples for Python programmers, written by Python programmers. ... This book contains over 200 recipes on the following topics: Searching and sorting, Manipulating text, Working with files and the filesystem, Object-oriented programming, ...