字下げスタイルとは? わかりやすく解説

字下げスタイル

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/12/12 01:52 UTC 版)

字下げスタイル(じさげスタイル)またはインデントスタイル: indent style)とは、プログラミングにおいてプログラムの構造を明らかにするために、コードのブロック字下げをどうするかを決めたものである。本項ではC言語やそれに類似した言語を主に扱うが、他のプログラミング言語(特に括弧を使用してブロックを記述する言語)にも適用可能である。字下げスタイルはプログラミング作法の一部である。


注釈

  1. ^ 日本語版ではそうなっていないが、同書の原書はレイアウトに気が配られている。

出典

  1. ^ 1TBS”. 2022年4月15日閲覧。
  2. ^ このスタイルについての詳細はここで詳しく示されているkernel.org.
  3. ^ Code Conventions for the Java Programming Language: Contents
  4. ^ a b Stroustrup, Bjarne (2010年9月). “PPP Style Guide”. 2022年4月15日閲覧。
  5. ^ C++ Core Guidelines”. GitHub. 2018年11月3日閲覧。
  6. ^ a b c Shannon, Bill (1996年8月19日). “C Style and Coding Standards for SunOS”. Sun Microsystems, Inc.. https://www.cis.upenn.edu/~lee/06cse480/data/cstyle.ms.pdf 2019年6月15日閲覧。 
  7. ^ a b DTraceToolkit Style Guide”. 2015年2月6日閲覧。
  8. ^ cstyle.pl”. illumos-gate. Sun Microsystems, Inc. (1998年9月9日). 2015年2月6日閲覧。
  9. ^ indent style”. The on-line hacker Jargon File (2003年12月29日). 2022年3月20日閲覧。
  10. ^ C# のコーディング規則 - C# プログラミング ガイド | Microsoft Docs
  11. ^ Formatting Your Source Code”. GNU Coding Standards. 2016年6月6日閲覧。
  12. ^ 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日閲覧。
  13. ^ R. Baumann, M. Feliciano, F. L. Bauer, and K. Samuelson, Introduction to Algol, 1964, https://archive.org/details/introductiontoal00baum
  14. ^ W. M. McKeeman, J. J. Horning, and D. B. Wortman, A Compiler Generator, 1970, https://archive.org/details/compilergenerato00mcke
  15. ^ Jensen, Kathleen; Wirth, Niklaus (1974). PASCAL User Manual and Report. Springer-Verlag 
  16. ^ Horstmann Style Guide
  17. ^ Ohno, Asako (2013). “学生のコーディングスタイルにばらつきがあることを前提に、模範となるコーディングスタイルを教えるための方法論”. 2013 IEEE Frontiers in Education Conference (FIE): 1908–1910. doi:10.1109/fie.2013.6685167. ISBN 9781467352611. 
  18. ^ Lammers, Susan (1986). Programmers at Work. Microsoft Press. ISBN 978-0-914845-71-3. https://archive.org/details/programmersatwor00lamm_0 
  19. ^ Artistic Style 2.05 Documentation”. Artistic Style. 2015年4月24日閲覧。
  20. ^ The Haskell 98 Report”. haskell.org. 2016年3月3日閲覧。


「字下げスタイル」の続きの解説一覧




固有名詞の分類


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「字下げスタイル」の関連用語

字下げスタイルのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



字下げスタイルのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアの字下げスタイル (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。

©2024 GRAS Group, Inc.RSS