Skip to content

What does "k" mean in http? #4934

Answered by gireeshpunathil
FPNL asked this question in Q&A
Mar 12, 2021 · 0 comments · 4 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: https://github.com/nodejs/node/blob/bfa6e37204f1343c8a340f44c923858833da55b8/deps/v8/include/v8.h#L433

pls refer to hungarian notation for additional context.

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

Replies: 0 comments 4 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
Category
Q&A
Labels
None yet
4 participants