字下げスタイル
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/12/12 01:52 UTC 版)
字下げスタイル(じさげスタイル)またはインデントスタイル(英: indent style)とは、プログラミングにおいてプログラムの構造を明らかにするために、コードのブロックの字下げをどうするかを決めたものである。本項ではC言語やそれに類似した言語を主に扱うが、他のプログラミング言語(特に括弧を使用してブロックを記述する言語)にも適用可能である。字下げスタイルはプログラミング作法の一部である。
注釈
- ^ 日本語版ではそうなっていないが、同書の原書はレイアウトに気が配られている。
出典
- ^ “1TBS”. 2022年4月15日閲覧。
- ^ このスタイルについての詳細はここで詳しく示されているkernel.org.
- ^ Code Conventions for the Java Programming Language: Contents
- ^ a b Stroustrup, Bjarne (2010年9月). “PPP Style Guide”. 2022年4月15日閲覧。
- ^ “C++ Core Guidelines”. GitHub. 2018年11月3日閲覧。
- ^ a b c Shannon, Bill (1996年8月19日). “C Style and Coding Standards for SunOS”. Sun Microsystems, Inc. 2019年6月15日閲覧。
- ^ a b “DTraceToolkit Style Guide”. 2015年2月6日閲覧。
- ^ “cstyle.pl”. illumos-gate. Sun Microsystems, Inc. (1998年9月9日). 2015年2月6日閲覧。
- ^ “indent style”. The on-line hacker Jargon File (2003年12月29日). 2022年3月20日閲覧。
- ^ C# のコーディング規則 - C# プログラミング ガイド | Microsoft Docs
- ^ “Formatting Your Source Code”. GNU Coding Standards. 2016年6月6日閲覧。
- ^ Stallman, Richard (2002年10月28日). “My Lisp Experiences and the Development of GNU Emacs (Transcript of speech at the International Lisp Conference)”. 2016年6月6日閲覧。
- ^ R. Baumann, M. Feliciano, F. L. Bauer, and K. Samuelson, Introduction to Algol, 1964, https://archive.org/details/introductiontoal00baum
- ^ W. M. McKeeman, J. J. Horning, and D. B. Wortman, A Compiler Generator, 1970, https://archive.org/details/compilergenerato00mcke
- ^ Jensen, Kathleen; Wirth, Niklaus (1974). PASCAL User Manual and Report. Springer-Verlag
- ^ Horstmann Style Guide
- ^ Ohno, Asako (2013). “学生のコーディングスタイルにばらつきがあることを前提に、模範となるコーディングスタイルを教えるための方法論”. 2013 IEEE Frontiers in Education Conference (FIE): 1908–1910. doi:10.1109/fie.2013.6685167. ISBN 9781467352611.
- ^ Lammers, Susan (1986). Programmers at Work. Microsoft Press. ISBN 978-0-914845-71-3
- ^ “Artistic Style 2.05 Documentation”. Artistic Style. 2015年4月24日閲覧。
- ^ “The Haskell 98 Report”. haskell.org. 2016年3月3日閲覧。
- 1 字下げスタイルとは
- 2 字下げスタイルの概要
- 3 概要
- 4 ツール
- 5 参考文献
固有名詞の分類
- 字下げスタイルのページへのリンク