topコンピュータ ≫ Perlの勉強に使ってる本

コンピュータ/Perlの勉強に使ってる本

2021-03-28 (日) 07:11:27 (1117d)

初めてのperl

なんだけど、

翻訳が凄まじい _| ̄|○

そんなぁ。 高校生が英語の宿題で訳してきたような翻訳でいいのかよぉぉぉぉぉぉぉぉぉおおおぉぉ。 と、読みながら何カ所もつっこんでるのだ。

例えば、 (緑の字の部分は本からの引用)

span style="color:green">・・・・。たいていの場合、これはあなたが望んだ処理ではないでしょう。</span>

span style="color:green">・・・・・。それはあなたの勝手ですが、ほとんどのPerlプログラマは、2番目のコンパクトな書き方を期待しています。</span>

これ、絶対hopeって単語が含まれてる!!って思った。誰でも思うか・・・。 わかりヤッスィ翻訳!!

などなど。 こんなんいっぱい。

taitanjin2.jpg タイタン人がまた登場してしまった・・・・。 タイタン人ブーム到来か。

翻訳の他に、この本は、ちょっとおいらには不親切。 だって、難しい計算ほどやってくれてないから、答えはこれでいいのかぁ? というような気分にさせられてしまう。 (#の後はコメント)

span style="color:green">4 ** 3 ** 2 # 4** (3 ** 2),つまり4**9 (4の9乗)</span>

span style="color:green">72 / 12 / 3 # (72 / 12) / 3 ,つまり6/3となり、結果は2になる</span>

span style="color:green">36 /6 * 3 # (36/6)*3,つまり18となる</span>

って。 なんで「4の9乗」の計算してくれないのぉぉぉぉぉぉお。 おいら暗算できないじゃん!! 計算機をポチポチ打って、やっと確認。てな具合なのだ。 関数電卓があればラクなんだけど、引っ越した時にどっかにやっちゃって普通の電卓しかないんだぁ。〜乗の計算がだるくてしょうがない。 あぁ。

あと、 プログラムの書き方が途中途中に載ってるけど、 ・・・・

span style="color:green">push(@array, 0); #@arrayは(5,6,0)になる。</span>

span style="color:green">push @array, 8; #@arrayは(5,6,0,8)になる。</span>

span style="color:green">push @array, 1..10; #@arrayはこれらの10個の新しい要素を持つようになる。</span>

span style="color:green">@others = qw/ 9 0 2 1 0 /; </span>

span style="color:green">push @array, @others; #@arrayはこれら5個の新しい要素も持つ(合計19要素)</span>

このプログラムで配列arrayに5,6が格納されているとき、

span style="color:green">push(@array, 0);</span> @arrayの配列の最後尾に0という要素を追加 だから、@arrayは(5,6,0)になる。

span style="color:green">push @array, 8;</span> @arrayの配列の最後尾に8という要素を追加 だから、@arrayは(5,6,0,8)になる。

span style="color:green">push @array, 1..10;</span> ここ難しいのに、ちゃんと書いてくれてないのだよ。 @arrayはこれらの10個の新しい要素を持つようになる。って。 (5,6,0,8)の後ろにどうやって1〜10の数字は配置されるんだぁぁぁぁ。 と、悩んだ。 まぁ、普通に考えれば(5,6,0,8,1,2,3,4,5,6,・・・・・,10)だとわかるけど、 ちょっと悩んでしまうよぉ。おいらはバカちんだから。

span style="color:green">@others = qw/ 9 0 2 1 0 /; </span> 配列othersに9,0,2,1,0を格納

span style="color:green">push @array, @others; #@arrayはこれら5個の新しい要素も持つ(合計19要素)</span> ココもちゃんと書いてほしかったぁ。 まぁ、普通の人ならこんなんヒョイってわかっちゃうんだろうけど、 おいらは・・・・・・。あぁぁ。

最後に、 例題使われる文章が、英語なので、それをおいらがどういう意味かわからず、辞書を引きまくり。

span style="color:green">print "'$name' comes after 'fred' in sorted order.\n";</span>

みたいな。 何となくはわかるけど、ハッキリとわかりたいおいらは辞書を引く。 英語の勉強も兼ねられるからいいか。

とまあ、おいらのバカっぷりを発揮しながら、 Perlの本の感想?というか、グチを書いてしまったのだ。 この記事を書きながら、 おいら、勉強不足やなぁ・・・。と、つくづく感じたのだ。

がんばろ。


ランキング参加中_| ̄|○

投稿日: 2004-11-12 00:30:00
(この記事はBLOCKBLOGから移行したものです)

コメント

I am sure this paragraph has touched all the internet users, its really really
fastidious post on building up new website.

by headlamp flashlight 2020-11-24 (火) 23:33:05

I love it whenever people get together and share opinions.
Great website, keep it up!

by Jonnie 2021-01-06 (水) 23:15:49

magnificent submit, very informative. I wonder why the opposite
experts of this sector don't realize this. You should continue your
writing. I am confident, you've a great
readers' base already!

by Denise 2021-01-15 (金) 07:23:55

Yes! Finally someone writes about link.

by Mackenzie 2021-01-16 (土) 05:02:56

I know this if off topic but I'm looking into starting my own blog and was wondering what all is needed to get set up?
I'm assuming having a blog like yours would cost a pretty penny?
I'm not very web savvy so I'm not 100% sure. Any tips or advice
would be greatly appreciated. Many thanks

by Hans 2021-01-16 (土) 18:49:07

Hiya! Quick question that's totally off topic. Do you know how to make your site
mobile friendly? My site looks weird when browsing from my iphone4.
I'm trying to find a theme or plugin that might
be able to fix this issue. If you have any suggestions, please share.
Many thanks!

by Patrick 2021-01-16 (土) 21:55:10

fantastic issues altogether, you just received a
new reader. What could you recommend about your submit that you made a few days in the past?
Any certain?

by Marylyn 2021-01-22 (金) 17:35:47

I think this is among the most important info for me.
And i'm glad reading your article. But wanna remark on some general things, The web site style is wonderful, the articles is really
great : D. Good job, cheers

by Akilah 2021-01-24 (日) 04:54:26

Greetings from Florida! I'm bored at work so I decided to check out your site on my
iphone during lunch break. I enjoy the knowledge you provide here and can't wait to take a look when I get home.
I'm amazed at how quick your blog loaded on my mobile ..
I'm not even using WIFI, just 3G .. Anyhow, superb blog!

by Francesca 2021-01-24 (日) 07:03:20

Please let me know if you're looking for a article writer for your weblog.
You have some really good articles and I feel I would be
a good asset. If you ever want to take some of the load off,
I'd really like to write some content for your blog in exchange for a
link back to mine. Please shoot me an email if interested.
Regards!

by Brandie 2021-01-25 (月) 16:35:00

I am sure this piece of writing has touched all the internet
users, its really really fastidious article on building up new weblog.

by Chong 2021-01-27 (水) 11:07:01

Just desire to say your article is as surprising. The clarity in your post is simply great and i could assume you're a professional in this subject.
Well together with your permission allow me to grasp your feed
to keep up to date with impending post. Thank you 1,000,000 and please continue
the rewarding work.

by Melanie 2021-01-28 (木) 04:55:38

I know this web page presents quality based posts and extra data, is
there any other web page which gives such information in quality?

by Tory 2021-01-28 (木) 13:56:43

Normally I don't learn article on blogs, however I would like to say that this write-up very forced me to take a look at and
do it! Your writing taste has been amazed me. Thank you, very nice post.

by Issac 2021-01-29 (金) 05:28:46

Good information. Lucky me I recently found your blog by chance (stumbleupon).
I've book marked it for later!

by Iva 2021-01-30 (土) 23:53:21

Actually no matter if someone doesn't be aware of afterward its up to other users that they will assist,
so here it happens.

by Lashonda 2021-02-01 (月) 08:56:00

What's up to all, how is everything, I think every one is getting more from
this web site, and your views are nice designed for new viewers.

by Chu 2021-02-01 (月) 10:56:08

Hi there! I know this is kind of off topic but I was wondering which blog platform are you using for this site?

I'm getting fed up of Wordpress because I've had problems with hackers
and I'm looking at options for another platform. I would be awesome if you could point me in the direction of a good platform.

by Albert 2021-02-02 (火) 02:17:39

Hi there i am kavin, its my first occasion to commenting anyplace, when i read this post i
thought i could also create comment due to this brilliant article.

by Chiquita 2021-02-02 (火) 05:18:01

Please let me know if you're looking for
a writer for your site. You have some really good articles and I think
I would be a good asset. If you ever want to take
some of the load off, I'd love to write some content for your
blog in exchange for a link back to mine. Please send me an e-mail if interested.
Thank you!

by Regina 2021-02-02 (火) 08:37:27

Spot on with this write-up, I honestly believe
that this site needs a lot more attention. I'll probably be returning to see more, thanks for
the info!

by car junk yards 2021-03-23 (火) 11:26:31

Aw, this was an incredibly nice post. Spending some time and actual effort to make a good
article_ but what can I say_ I put things off a whole lot and don't manage
to get anything done.

by junk cars for sale 2021-03-28 (日) 07:11:27

Name:
URL:
コメント:

チビ食さんこんばんはぁ!

チビ食さん、よくこんな技を見つけましたね!!!!!!尊敬!!!!! 頭良い!!!! しかも、日本語→英語→日本語という過程をたどった文章が、Perl本の訳っぽくなってるし(^O^) あの本、翻訳機使ってたりして・・・。ひゃっひゃっヒャ。

まじで、「ひだ」なんてどっから出てきてん!!!て感じですわぁ(関西弁をちょっとマネてみたいお年頃♪)!

実は、「ケーキ一切れ」を「けぇきぃぎれ」と読んでて、 ??????????????????? 「クッキー切れの仲間??」とか思ってたら、 「ケーキ、ひときれ」じゃん!!!!って。 わしゃぁ、どんだけアホなんだぁぁぁぁ _| ̄|○

腹筋に非常にひだ蹴りを入れざるをえませんでした。ぇぇ。パックンチョ。

今年の目標。 笑いで、腹筋を割ろう!!!と決心した。 チビ食さん、一緒にこの目標を達成しようではありませんか!!!と言うことによって、あなたはあなたの目標に到達することを期待します。(ィミガワカランケドォモシロィ)

by meglife 2004-11-13 00:23:00

こんばんは!! perl本に負けじと直訳風!!で応援だッ!!

私はこのエントリを見て腹筋を大いに燃え上がらせざるをえませんでした。 なぜならそれらの話題は私が爆笑するのに十分な事柄だからです。

meglifeさんが「perlなんて、ケーキ一切れです。」といえるようになることを私は望んでいます。

・・・これをExite翻訳<a href="http://www.excite.co.jp/world/" target="_blank">http://www.excite.co.jp/world/</a>で日本語→英語化!! さらにその英文を再日本語化!! どうなるかな〜

私はこのエントリーを見ざるをえ、腹筋に非常にひだを入れざるをえませんでした。 それらの主題は私が笑いでわめくことが十分な問題であるからです。

私は、meglife氏が今言うことができることを望みます、「perlなどでは、それは1つの容易な仕事です。」

ばッ・・・爆笑!! _| ̄|○ハラガイタイー!!

どこから「ひだ」なんて出てきてん!!(笑)

・・・私は悲鳴のような笑いをあげざるをえ、腹筋に非常にひだを入れざるをえませんでした。ええ。

Exite翻訳で日→英→日、腹筋を割るのに使えそうです(笑)

by チビノワの食べ残し 2004-11-12 23:18:00