A list of resources where you can learn programming by example.
- Beginners C Program Examples – simple, short and sweet beginners friendly C language programs.
- C Examples
- C Examples – w3schools
- C++ By Example
- C by Example – learn C and C++ through annotated examples.
- Examples C++ – примеры кода на C++.
- C++ Short Code Examples – короткие примеры C++ кода.
- CSES Solutions – accepted solutions of CSES problemset written in C++.
- Elixir Examples – a collection of small Elixir programming language examples.
- Go by Example
- Golang by Example
- Golang for Node.js Developers – examples of Golang compared to Node.js.
- Go generics example – example code for Go generics.
- inancgumus/learngo – 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes.
- Go packages – a large repository of code and documented examples for Go's standard package library.
- Go Examples
- Haskell by Example
- Haskell in depth – examples to accompany the book "Haskell in Depth".
- OnJava8-Examples – code Examples for the book "On Java 8".
- Java Tutorial For Beginners – about 500 code examples.
- JavaScript Algorithms and Data Structures – algorithms and data structures implemented in JavaScript with explanations.
- You Don't Need jQuery – examples of how to do query, style, dom, ajax, event etc like jQuery with plain JavaScript.
- What the f*ck JavaScript? – a list of funny and tricky JavaScript examples.
- Learn Kotlin by Example – examples from official Kotlin docs.
- Learn Kotlin Coroutines – Kotlin Coroutines by real examples for Android.
- adbrepo/cursoAndroidKotlin – basic Android examples in Kotlin.
- kharrison/CodeExamples – code examples in Objective-C and Swift.
- PHP manual examples – list of all examples from official PHP manual.
- trekhleb/learn-python – collection of Python scripts that are split by topics and contain code examples with explanations.
- geekcomputers/Python – code examples by some geek.
- Design Patterns in Ruby – examples from the book Design Patterns in Ruby by Russ Olsen.
- The Algorithms - Ruby – algorithms implemented in Ruby.
- Rust by Example
- Rust by Practice – narrowing the gap between beginner and skilled-dev with challenging examples, exercises and projects.
- Rust Atomics and Locks – code examples, data structures, and links from book "Rust Atomics and Locks".
- Design Patterns in Rust – Rust examples for all 23 classic GoF design patterns, and even a little more.
- Scala on Android – a tutorial and examples of how to write Android apps in Scala.
- Swift Structures – examples of commonly used data structures and algorithms in Swift.
- Swift by Example
- Swift Examples – a collection of Swift samples to experiment with different topics.
- Modern TypeScript – fully printable summary of modern TypeScript language features with extensive examples.
- TypeScript code examples
- Design Patterns in TypeScript
- SOLID Principles Examples using Typescript
- Bash scripts by example – learn main features of Bash scripts by examples (ENG/RUS).
- Awesome Docker Compose Examples – various Docker Compose examples of selfhosted FOSS and proprietary projects.
- DoTheEvo/selfhosted-apps-docker – pretty hand holding and detailed Docker recipes.
- Regex by example – learn main features of regular expressions by examples (ENG/RUS).