<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
    <anon>Python</anon>
    <anon>作ってみた</anon>
  </categories>
  <description>先日、素数を求めるマクロを作成した際、pythonでも書いてみた。 infoment.hatenablog.com今回は自身の学習の為、この二つを自分なりに比較してみた。 横に並べて対比できるよう、同じ意味の個所は行を同じにした。 個人的に、以下の二つで不思議な感じがする。 End If, End Function, Next などで閉じない。 Exit Functionが無くとも、Returnで関数を抜ける。 しかし、詳しい人（他の言語の後にVBAを習得した人）に訊いてみたところ、「Exit Functionがあること」の方に違和を感じたとのこと。う～ん、面白い！参考まで。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2020%2F05%2F08%2F050000&quot; title=&quot;素数を求めるマクロとpythonのコードを比較 - Infomentのブログ ～Excel VBA奮闘記～&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/I/Infoment/20200507/20200507220135.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-08 05:00:00</published>
  <title>素数を求めるマクロとpythonのコードを比較</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2020/05/08/050000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
