Source code
lastmod 2022-09-14created 2020-09-109 edits
Source code is text that describes a computer program in a (human-readable) programming language. It consists of one or more text files. In modern software development, machine code is used only in a very small number of areas; most development is done by compiling source code written in high-level languages. Software and its accompanying source code generally carry a license that falls broadly into one of two categories: free software or proprietary software.
Good source code samples
By project
- Turbo C (Borland C/C++) runtime library (late '80s to early '90s)
- 8087 floating-point emulator written by Tanj Bennett
- Tanj, the author of the code, left a comment himself
By programming language
- Go : Terraform, Chaos Monkey
- Python : AWS CLI, HTTPie
- Ruby : Homebrew, Puppet
- TypeScript : AWS CDK, Jest, Visual Studio Code
- Rust : Bat, Firecracker
- Java : Apache Zookeeper, Buck, Error Prone
Tools
- Codeimg.io
- https://codeimg.io/
- Captures code at suitable sizes such as Facebook (1200x630), Twitter (506x253), and Instagram (1080x1080)
- Dozens of editor themes
- Automatic syntax highlighting (can be selected manually)
- Line numbering support
- Multiple size presets for each situation
- Mac/Windows OS window frame options: minimize/maximize buttons, title, shadow, corner radius, etc.
See also
Favorite site
Pages that link here