A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
# from http://blog.wekeroad.com/2010/05/24/vim-kata-one | |
I will write a line and hit escape and o to insert a new line and hit escape | |
I will write a line and hit escape and o to insert a new line and hit escape | |
I will write a line and hit escape and shift-O to insert a new line above and hit escape | |
I will write a line and hit escape and shift-O to insert a new line above and hit escape | |
I will navigate from beginning of line to end of line using 0 and $ | |
I will go to the top of the document by hitting gg |
" VIM Configuration File | |
" Description: Optimized for C/C++ development, but useful also for other things. | |
" Author: Gerhard Gappmeier | |
" | |
" set UTF-8 encoding | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" disable vi compatibility (emulation of old bugs) |
#include "uart.h" | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <termios.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
1: 日 | |
2: 一 | |
3: 国 | |
4: 会 | |
5: 人 | |
6: 年 | |
7: 大 | |
8: 十 | |
9: 二 | |
10: 本 |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.