Skip to content

What does "k" mean in http? #37724

Answered by gireeshpunathil
FPNL asked this question in General
Mar 12, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

it is probably inherited from the variable naming convention from v8 source - which uses k prefix for variable names that are constants. For example:

static const int kInternalFieldsInWeakCallback = 2;

pls refer to hungarian notation for additional context.

/cc @addaleax to see if there is a better explanation.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@addaleax
Comment options

@FPNL
Comment options

Answer selected by FPNL
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants