Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igr/color-code
Coding in colors
https://github.com/igr/color-code
Last synced: 24 days ago
JSON representation
Coding in colors
- Host: GitHub
- URL: https://github.com/igr/color-code
- Owner: igr
- License: bsd-2-clause
- Created: 2022-03-27T14:07:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T08:28:46.000Z (over 2 years ago)
- Last Synced: 2024-05-02T05:53:01.610Z (6 months ago)
- Language: Kotlin
- Homepage:
- Size: 134 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Color Code
Standard programming languages are generic. While that is the purpose of such language, it leads to many ways of understanding and doing the same thing.
The idea is to establish specific guides that should lead to uniquely designed code, hopefully, a better one, leaving less space for a different interpretation.
> Why 'color'?
We need a new term for the code categorization. Common terms, 'type' or 'kind,' are already used in a different context. And it's fun!
Let's begin.
## Table of Contents
+ [🟦 DATA](doc/10-data.md)
+ [🟪 BUILDER](doc/11-builder.md)
+ [🟥 STATE](doc/12-state.md)
+ [🟨 FUNCTION](doc/13-function.md)
+ [🟧 ACTION](doc/14-action.md)
+ [Binding](doc/15-binding.md)
+ [⬛️ CONTEXT](doc/16-context.md)
+ [Misc topics](doc/17-misc.md)
+ [🍭 Color wheel](doc/20-color-wheel.md)### Examples
+ [Calculator](doc/30-example-calculator.md) - using `Ctx`
+ [ToDo App](doc/31-example-todo.md) - simple app with two layers
+ [Restaurants](doc/32-example-restaurants.md) - real-world web app with Ktor & Exposed.### Tools
+ [ISCAN](doc/iscan.md) - pen-n-paper tool for analyzing code quality.
## Primary colors
```
🟦 == calm, unchanged, stable
🟨 == pure, light, combined
🟥 == contagious, changes other colors
```Finally:
> ⚡️ **Pro Tip**: don't take this too serious.