<?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/tags/coding/</link><description>Recent content in Coding on Lin's Blog</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Mon, 06 Feb 2017 23:59:25 +0000</lastBuildDate><atom:link href="https://coder.tw/tags/coding/index.xml" rel="self" type="application/rss+xml"/><item><title>關於程式設計的命名藝術</title><link>https://coder.tw/posts/naming-art-in-programming/</link><pubDate>Mon, 06 Feb 2017 23:59:25 +0000</pubDate><guid>https://coder.tw/posts/naming-art-in-programming/</guid><description>&lt;p&gt;命名，是程式設計領域老掉牙的議題，從變數命名到函式、物件的命名，未必有多少人將這件事做好，你真的明白為何變數命名重要嗎？  此外，除了最基本的變數名稱要有意義外，常見變數命名方式如匈牙利命名法、駝峰命名法等等，又該如何選擇呢？ 這邊將簡單跟大家分享我對於變數命名的一些想法。&lt;/p&gt;</description></item><item><title>如何寫出好的程式碼：縮排、定義變數與型別還有註解！</title><link>https://coder.tw/posts/good-code-indentation-variables-types-2/</link><pubDate>Sat, 29 Jan 2011 22:07:05 +0000</pubDate><guid>https://coder.tw/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>