<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Coding on Lin's Blog</title><link>https://coder.tw/ja/tags/coding/</link><description>Recent content in Coding on Lin's Blog</description><generator>Hugo</generator><language>ja-JP</language><lastBuildDate>Mon, 06 Feb 2017 23:59:25 +0000</lastBuildDate><atom:link href="https://coder.tw/ja/tags/coding/index.xml" rel="self" type="application/rss+xml"/><item><title>プログラミングにおける命名の芸術</title><link>https://coder.tw/ja/posts/naming-art-in-programming/</link><pubDate>Mon, 06 Feb 2017 23:59:25 +0000</pubDate><guid>https://coder.tw/ja/posts/naming-art-in-programming/</guid><description>&lt;p&gt;命名はプログラミングの世界で昔からある定番の話題です。変数名から関数、オブジェクトの名前まで、きちんと付けられている人は多くありません。そもそも、なぜ変数名が大切なのか、本当に理解していますか？ また、変数名そのものに意味を持たせることに加えて、ハンガリアン記法やキャメルケースなどの一般的な命名方式をどのように選べばよいのでしょうか。ここでは、変数の命名について私が考えていることを簡単にお話しします。&lt;/p&gt;</description></item><item><title>良いコードの書き方：インデント、変数と型の宣言、そしてコメント！</title><link>https://coder.tw/ja/posts/good-code-indentation-variables-types-2/</link><pubDate>Sat, 29 Jan 2011 22:07:05 +0000</pubDate><guid>https://coder.tw/ja/posts/good-code-indentation-variables-types-2/</guid><description>&lt;p style="text-align: center;"&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/01/2011-01-29_215359.jpg"&gt;&lt;img class="size-large wp-image-4494 aligncenter" title="2011-01-29_215359" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/01/2011-01-29_215359-520x428.jpg" alt="" width="520" height="428" /&gt;&lt;/a&gt;&lt;/p&gt;
プログラミングを学び始めたばかりの人が書くコードには、分かりやすい欠点がいくつかあります。コードにインデントがされていないことが多く、コメントもほとんどありません。VB6 のような言語から始めた場合は、変数名や型を宣言しないという欠点もあるでしょう。こうしたコードも動くには動きますが、保守するのはとても大変です。この記事は私個人の小さな意見にすぎませんので、間違っている点があればご指摘いただけると幸いです。</description></item></channel></rss>