Skip to content
Browse files

src,doc: add C++ internals documentation

This aims to help explain some of the internal patterns and utilities
that we use. It is by no means exhaustive, and suggestions for
additions are welcome.

Some of this is based on the existing work from #26929.

Refs: #26929

PR-URL: #30552
Reviewed-By: Sam Roberts <>
Reviewed-By: Richard Lau <>
Reviewed-By: Jiawen Geng <>
Reviewed-By: David Carlier <>
Reviewed-By: Joyee Cheung <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: Gireesh Punathil <>
Reviewed-By: Denys Otrishko <>
Reviewed-By: James M Snell <>
Reviewed-By: Michael Dawson <>
  • Loading branch information
addaleax authored and MylesBorins committed Nov 19, 2019
1 parent 88bca0f commit a621ab8695937176527839f47a1e717340d404da
Showing with 902 additions and 1 deletion.
  1. +3 −0
  2. +3 −1 doc/guides/contributing/
  3. +896 −0 src/
@@ -1,5 +1,8 @@
# C++ Style Guide

See also the [C++ codebase README](src/ for C++ idioms in the Node.js
codebase not related to stylistic issues.

## Table of Contents

* [Guides and References](#guides-and-references)
@@ -121,7 +121,9 @@ in the API docs will also be checked when running `make lint` (or
use `REPLACEME` for the version number in the documentation YAML.

For contributing C++ code, you may want to look at the
[C++ Style Guide](../../../
[C++ Style Guide](../../../, as well as the
[README of `src/`](../../../src/ for an overview over Node.js
C++ internals.

### Step 4: Commit

0 comments on commit a621ab8

Please sign in to comment.
You can’t perform that action at this time.