東方中央幻視台

瞼の裏に弾幕が飛び交う程度の能力 - 永夜抄Normalはそれなりに難しい。

目次

Blog 利用状況

ニュース

自己紹介

関連サイト

投稿カレンダー

  • スクリプトをダウンロード!

ブログパーツ

Adsense

書庫

日記カテゴリ

ソースコードの日本語文字

自分自身はコメントですら英語で書きます。
理由としては、Windows版のOsaka-等幅では、日本語の文字が綺麗に表示されない、英語圏のWebプレビューでは文字化けするというのもありますが、何よりコメント自体ほとんど書かないからです。
自分の書いた中にコメントは#regionブロックとXML以外のコメントがないコードも結構あります。

とは言っても、MSDNなんかのサンプルコードなどで日本語のコメントがないとやっぱり苛ってきます。

投稿日時 : 2008年6月1日 8:14

コメントを追加

# re: ソースコードの日本語文字 2008/06/01 10:46 OtanC

わたしの場合、ソース自体は英語が基本で略した変数名はつけません。(C++です)
区分を分ける必要があれば、namespaceつかって分けています。
その上で、ヘッダに関数・変数のコメントを日本語で書いて、ヘッダ=簡易仕様書として使えるようにしています。(JavaDocのイメージですね、HTMLまでは作りませんが・・・)
ただ、海外向けの場合は全部英語(バッタもん)になってます(^^

>とは言っても、MSDNなんかのサンプルコードなどで日本語のコメントがないとやっぱり苛ってきます。
そうですね(^^。
読み手としては、ドキュメントは日本語のほうがわかりやすいです。見ただけで頭に入ってくる「気が」します。英語は音(おん)を辿らないと意味が入ってきません。
それと、MSDNの記載が日本語版と英語版で内容が違うのはやめてほしいですね。

# re: ソースコードの日本語文字 2008/06/01 11:41 やじゅ

個人で開発する分には英語でコメントも
かまわないけど、チーム開発した場合に
英語出来る人ばかりではないから、
その場合は、やはり日本語になるのかな

# re: ソースコードの日本語文字 2008/06/01 11:59 Hirotow

仕事だと再利用可能性ってのがあるから、コメント至上主義的な部分はあるでしょうね。
自分はクラスライブラリにするか、コードをコピペするならむしろコメントは邪魔な人なのですが。

# 名前空間は英語表記? 2008/06/01 12:04 DHJJ [Hatsune's Journal Japan] blog

名前空間は英語表記?

# http://www.destockchinefr.fr/veste-marque-pas-cher/veste-ed-hardy-pas-cher/ 2013/01/12 15:13 http://www.destockchinefr.fr/veste-marque-pas-cher

Around the globe you might be one person, however to one consumer you might be the whole world.
http://www.destockchinefr.fr/veste-marque-pas-cher/veste-ed-hardy-pas-cher/ http://www.destockchinefr.fr/veste-marque-pas-cher/veste-ed-hardy-pas-cher/

# casquette obey 2013/02/27 3:04 http://www.b66.fr/

By which there will be spousal relationship without having absolutely adore, we will see absolutely adore without having spousal relationship. casquette obey http://www.b66.fr/

# Shoes.fr 2013/03/17 2:20 http://www.c88.fr/

A true comrade is the one who exactly overlooks any downfalls combined with can handle any successes. Shoes.fr http://www.c88.fr/

# casquette monster 2013/03/17 4:59 http://www.b44.fr/

The buddy that you simply simply purchase with the help of offers you could well be purchased from a person. casquette monster http://www.b44.fr/

# tee shirt g star 2013/03/18 4:40 http://www.i77.fr/

Only because any individual doesn‘l accept you and the choice of would like them in order to,doesn‘l signify they preceptor‘l accept you using they've. tee shirt g star http://www.i77.fr/

# priceminister 2013/03/20 22:08 http://www.a88.fr/

Don't bother to make friends which convenient to be with. To understand which will drive that you simply lever one self in place. priceminister http://www.a88.fr/

# casquette new york 2013/03/25 15:35 http://d33.fr/

Certainly never frown, although you're going to be down in the dumps, while you not know that is plunging in love with all your giggle. casquette new york http://d33.fr/

# yezi20160620@163.com 2017/09/27 18:52 wwwww

http://www.adidasgazelle.us.com
http://www.chrome-hearts.us.org
http://www.atlantafalconsjerseys.us
http://www.yeezy-shoes.org
http://www.michael--korsoutlet.us.org
http://www.adidasstansmith.us.com
http://www.airhuarache.uk
http://www.adidasyeezyshoes.us.org
http://www.chromehearts.com.co
http://www.ledshoes.us.com
http://www.converse-shoes.us.com
http://www.kobebasketballshoes.us.com
http://www.jordanshoes.com.co
http://www.jordansforcheap.us.com
http://www.kobe-shoes.us.com
http://www.adidastubular.co.uk
http://www.nikedunks.us.org
http://www.longchamphandbagsoutlet.us.org
http://www.tomford-sunglasses.us.com
http://www.adidasstore.us.com
http://www.thelightupshoes.us.com
http://www.lebron13.us.com
http://www.adidas-nmds.us.com
http://www.adidassuperstar.org.uk

# yezi20160620@163.com 2017/09/28 9:51 wwwww

http://www.basketball-shoes.us.com
http://www.goldengoose-outlet.us.com
http://www.kobebasketballshoes.us.com
http://www.outletlacoste.us.com
http://www.goyardhandbags.us.com
http://www.yeezyboost.in.net
http://www.nikerosheone.co.uk
http://www.ferragamobelt.us
http://www.lebron13.us.com
http://www.nikezoom.me.uk
http://www.reebokoutlet.us.org
http://www.vans-outlet.us.com
http://www.airjordanretro.uk
http://www.adidasnmds.com
http://www.toryburchshoes.us
http://www.michael-kors-handbags.com.co
http://www.yeezy-boost350.us.com
http://www.michaelkors-outletstore.us.com
http://www.adidasgazelle.us.com
http://www.longchamp-bags.us.org
http://www.airmax90.us.org
http://www.nikepolo.us
http://www.hermes-belt.us.com
http://www.jordanshoes.uk
http://www.nike-airforce1.us.com
http://www.curry4shoes.us.com
http://www.nikeairforce1.us.com
http://www.yslhandbags.us.org
http://www.yeezyboost.com.co
http://www.jordansforcheap.us.com
WWW

# re: [Tips][Visual Studio]Visual Studio 2008で、ソースコードの行数をカウントする方法 2017/09/29 9:53 chenlina

http://www.oakleysunglassessport.us.com
http://www.longchampoutlet-online.com
http://www.uggbootsclearances.com.co
http://www.truereligionjeans-outlet.us.com
http://www.truereligionsale.com.co
http://www.ray-bansunglassesoutlets.us.com
http://www.ugg.com.co
http://www.louisvuitonnoutlet.com
http://www.hollisterclothing.us.org
http://www.northfaceoutletstore.us.org
http://www.hermesoutlets.us.com
http://www.outletugg.com.co
http://www.canadagoosesale.com.co
http://www.cheap-jordan-shoes.us.com
http://www.newbalance-shoes.us.com
http://www.pololaurenshirts.com
http://www.michaelkorsoutletsonlinesale.us.com
http://www.wwwuggaustralia.co.uk
http://www.pandora-charms-canada.ca
http://www.swarovski-jewelry.name
http://www.ugg-outlets.com.co
http://www.coachoutlet70off.us.com
http://www.truereligion-jeans.com.co
http://www.michaelkorsoutletoff.us.com
http://www.fitflops.org
http://www.coachoutletonlineshopping.us.org
http://www.baseballjerseys.us.com
http://www.toryburchoutletsonline.us.com
http://www.northfacejacket.us.com
http://www.ugg.me.uk
http://www.ray-bansunglassesoutlet.com.co
http://www.ray-bansunglasses2017.us.com
http://www.ralphlaurenoutlet-poloshirts.us.com
http://www.oakleysunglassesofficialsite.us.com
http://www.ralphlauren.eu.com
http://www.poloralphlaurenoutletoff.us.com
http://www.uggboots-onsale.us
http://www.oakleysunglasses2017.us.com
http://www.nikeblazers.us
http://www.pandorajewelryoutlet.us.org
http://www.cheapjordansshoes.us.com
http://www.nikeairjordans.co.uk
http://www.uggbootsaustralia.in.net
http://www.salomon-shoes.in.net
http://www.uggsaustraliaboots.us.com
http://www.uggsclassicboots.us.com
http://www.ugg-italia.it
http://www.hermesbirkinhandbags.us.com
http://www.christianlouboutin.name
http://www.tommy-hilfiger-canada.ca
http://www.uggsadd.com
http://www.mlbjerseyswholesale.us.com
http://www.nikerosherunsale.co.uk
http://www.officialcoachfactoryoutletonline.us.com
http://www.canadagoose.com.co
http://www.michaelkorsuk.me.uk
http://www.raybanpascher.fr
http://www.nikeoff.com
http://www.ferragamooutlet.us.com
http://versace.sunglassescheap.us.com
http://www.ray-ban-sunglasses.com.au
http://www.jordans-fusion.com
http://www.coach-outlet.nom.co
http://www.adidasoutletstore.net
http://www.wholesale-nfl-jerseys.us
http://www.adidasstansmith.co.uk
http://www.oakley-sunglassesonsale.us.com
http://www.michaelkors--outlet.us.org
http://www.ukuggboots.co.uk
http://www.outletthenorthface.us.com
http://www.pandoracharmjewelry.us.com
http://www.coachoutletstoreonlineofficial.us.com
http://www.burberryoutlet-canada.ca
http://www.uggsaustralia.it
http://www.northface-clearance.us
http://www.fitflopssaleclearance.us.org
http://www.uggfactoryoutlet.com.co
http://www.redbottoms.org.uk
http://www.michaelkorshandbags.nom.co
http://www.burberryusa.us.com
chenlin20170929

# Cheap Jerseys 2019/04/05 10:10 cqjnmqasybr@hotmaill.com

kxlbrztscu,Thanks for sharing this recipe with us!!

# Salomon Shoes 2019/04/07 18:35 rapbekmao@hotmaill.com

dsmbniv,Thanks a lot for providing us with this recipe of Cranberry Brisket. I've been wanting to make this for a long time but I couldn't find the right recipe. Thanks to your help here, I can now make this dish easily.

# Yeezy 2019/04/09 2:26 vpiwygysasp@hotmaill.com

vnoruv Yeezy 350,If you are going for best contents like I do, just go to see this web page daily because it offers quality contents, thanks!

# Nike Vapormax Plus 2019/04/11 15:07 jfxpgnou@hotmaill.com

tqdohk,Very helpful and best artical information Thanks For sharing.

# Yeezys 2019/04/14 16:36 xvnaog@hotmaill.com

bibyvc Yeezy Boost,A very good informative article. I've bookmarked your website and will be checking back in future!

# Cheap Yeezy Shoes 2019/04/16 16:54 hwclkf@hotmaill.com

fpjqettzd,Hi there, just wanted to say, I liked this article. It was helpful. Keep on posting!

# React Element 87 2019/04/18 6:03 xtmpzmclfc@hotmaill.com

“The economy has been going down since November last year, but in the past two weeks, there have been signs that the situation is stabilizing, which is a comforting thing in itself,” O'Neill added.

# Nike Air Max 2019 2019/04/22 8:05 clnnjd@hotmaill.com

Apple does not offer an advertising version of the subscription service, and Apple currently has more than 50 million paying users worldwide. But Apple’s global growth is growing at a rate of 2.4% to 2.8%, while Spotify’s growth is 2% to 2.3%.

# Balenciaga Trainers 2019/04/23 7:47 ubyypnqfxr@hotmaill.com

cufwwoyj,Definitely believe that which you said. Your favourite justification appeared to be on the net the simplest thing to remember of.

# Cheap NFL Jerseys 2019/04/26 12:12 rfpxhjcnlqp@hotmaill.com

Daimler, the parent company of Mercedes-Benz, said that the company has been "widely engaged" with the European Commission and is not expected to be fined. BMW said in a statement that it believes the investigation is "trying to steal the concept of interest coordination and illegal monopoly in an allowable industry."

# Jordan 11 Concord 2018 2019/04/27 11:58 lawtiioe@hotmaill.com

In the early morning of the 13th, a joint investigation team consisting of the Provincial Department of Housing and Construction, the Provincial Commission for Discipline Inspection, the Provincial Party Committee Propaganda Department.

# Yeezy Boost 700 2019/04/27 22:08 bbvghkzywmz@hotmaill.com

Daimler, the parent company of Mercedes-Benz, said that the company has been "widely engaged" with the European Commission and is not expected to be fined. BMW said in a statement that it believes the investigation is "trying to steal the concept of interest coordination and illegal monopoly in an allowable industry."

# Nike Shoes 2019/05/05 9:03 jjunmocwcdi@hotmaill.com

Lillard had enjoyed competing on the big stage against the Oklahoma City Thunder ? especially fellow stars Russell Westbrook and Paul George.

# Jordan 12 Gym Red 2019/05/07 23:14 xlxgucale@hotmaill.com

Let the Boston bomber vote, Trump said, mocking Sanders’s proposal. I don’t think so. Let terrorists who are in prison vote ? I don’t think so.’

# Cheap NFL Jerseys 2019/05/13 4:08 faywdsh@hotmaill.com

On Friday, the White House honored the first lady with a tribute on Twitter. “Happy Birthday, @FLOTUS!” the post was captioned along with an image of Mrs. Trump sitting alone on a sofa during a bilateral meeting between Donald Trump and Czech Prime Minister Andrej Babis in the Oval Office.

# nike factory outlet store online 2019/05/24 0:40 hsrpqde@hotmaill.com

http://www.nikereactelement87.us/ React Element 87

# Travis Scott Air Jordan 1 2019/06/03 17:00 enpdtnqlv@hotmaill.com

And what came out of Westbrook’s mouth during a few of his post-basket outbursts was the B-word,Jordan something most players wouldn’t dismiss without an altercation.

# Pandora 2019/06/09 1:47 gaviarlokw@hotmaill.com

http://www.redjordan12.us/ Jordan 12 Gym Red 2018

# Nike Outlet Store Online Shopping 2019/06/19 19:26 iwwlxfwh@hotmaill.com

http://www.yeezy.com.co/ Yeezy Shoes

# Nike Shox Outlet 2019/06/30 16:39 kpwgxtz@hotmaill.com

http://www.basketball-jersey.us/ NBA Jerseys

# Yeezy 350 2019/07/15 13:17 vsirvpww@hotmaill.com

http://www.nikeoutletstoreonlineshopping.us/ Nike Outlet Store Online Shopping

# Yeezy Shoes 2019/07/15 18:48 ctstmp@hotmaill.com

http://www.yeezy350.org.uk/ Yeezy 350

# Nike Outlet Store 2019/07/30 20:10 jadaixqg@hotmaill.com

http://www.adidasyeezy.de/ Adidas Yeezy

# Nike Outlet 2019/08/14 6:25 lheiqjxk@hotmaill.com

http://www.yeezyboost350v2.de/ Yeezy Boost 350

タイトル
名前
URL
コメント