Skip to content

Cookieの章のset-cookieSet-Cookieに変更#828

Merged
chvmvd merged 2 commits intomainfrom
cookie-is-Pascal-Case-or-Whatever-This-Is-Called
Sep 29, 2024
Merged

Cookieの章のset-cookieSet-Cookieに変更#828
chvmvd merged 2 commits intomainfrom
cookie-is-Pascal-Case-or-Whatever-This-Is-Called

Conversation

@aster-void
Copy link
Contributor

@aster-void aster-void commented Sep 15, 2024

closes #813

ついでに一箇所だけ地の文で cookie になっていたのを Cookie にしました。

@cloudflare-workers-and-pages
Copy link

Deploying utcode-learn with  Cloudflare Pages  Cloudflare Pages

Latest commit: 140b54e
Status: ✅  Deploy successful!
Preview URL: https://b841ecb2.utcode-learn.pages.dev
Branch Preview URL: https://cookie-is-pascal-case-or-wha.utcode-learn.pages.dev

View logs

@aster-void aster-void requested a review from chvmvd September 15, 2024 14:06
Copy link
Contributor

@chelproc chelproc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

インラインコードやめるんじゃなかったですっけ?

@aster-void
Copy link
Contributor Author

インラインコードやめると Cookie (概念) と区別がつかなくなるのでインラインコードは残すという話だった気がします

Copy link
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

インラインコードやめると Cookie (概念) と区別がつかなくなるのでインラインコードは残すという話だった気がします

結論から言うと、この間、話を聞いた感じの議論から導ける結論はインラインコードで全部小文字、あるいは、地の文で先頭を大文字にするのいずれかしかないように感じます。新たな解釈があるのであれば、そのような結論にすることもできるかもしれないですが、今の議論のままだとその結論にはできなそうな気がしますね。
私もIssueから変更をしようとした経緯がつかめてはいないのですが、私が理解している範囲では、そもそもインラインコードにするかしないかでそのことばが表す意味は完全に異なり、また現状の議論で大文字にするか小文字にするかはどのような意味でそのことばを使うかの議論であると思われるので、インラインコードにするかしないかと大文字にするか小文字にするかはセットで議論されるものであるという認識です。そのため、先頭を大文字にしてインラインコードという結論は出得ないのかなと思いました。

@aster-void
Copy link
Contributor Author

その二択ってことはないですよ
expressjs.com もこう書いてるし
Screenshot_20240927_130702_Chrome

@nakaterm
Copy link
Contributor

nakaterm commented Sep 27, 2024

議事録 (Notion) に

Set-Cookie ヘッダ、と表記する

ってあるので、これがやっぱり間違っているという話ならまた MTG 行きかと。

Copy link
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRの方は良さそうです。Issueの方でこの変更の経緯が読み取りにくいので、そちらを書いていただけると。

@chvmvd chvmvd changed the title Cookieの章のヘッダの表記をPascal-Case?に Cookieの章のset-cookieSet-Cookieに変更 Sep 29, 2024
@chvmvd chvmvd merged commit d61cd78 into main Sep 29, 2024
@chvmvd chvmvd deleted the cookie-is-Pascal-Case-or-Whatever-This-Is-Called branch September 29, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cookie の章で、文章中のヘッダが先頭小文字になっている。

4 participants