<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inarizuuuushi</author_name>
  <author_url>https://blog.hatena.ne.jp/inarizuuuushi/</author_url>
  <blog_title>Sabrou-mal サブロウ丸</blog_title>
  <blog_url>https://inarizuuuushi.hatenablog.com/</blog_url>
  <categories>
    <anon> python </anon>
  </categories>
  <description>Pythonはcやjavaよりも可読性が優れている言語です。 その可読性を十分に発揮する、つまり人が見て読みやすいプログラムにするには、プログラムにある程度冗長性を持たせる必要があります。 基本的には短いプログラムほど理解しやすいですが、技巧的に短くしすぎると逆に可読性が失われてしまうからです。 しかしそのデメリットを無視しても、できるだけ短く書きたいときもあるでしょう。 僕がこれまで培ってきたもの(自分で考えたものや、他人のプログラムでこれは!と感心したもの)の中で、技巧的に短く書ける例を挙げていきたいと思います。 なお全てpython3.6を想定して書いておりますのでご了承ください。 if…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2017%2F11%2F30%2F090000&quot; title=&quot;Python ショートコーディング Tips - Sabrou-mal サブロウ丸&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-30 09:00:00</published>
  <title>Python ショートコーディング Tips</title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2017/11/30/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
