Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.