<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>todays_mitsui</author_name>
  <author_url>https://blog.hatena.ne.jp/todays_mitsui/</author_url>
  <blog_title>無駄と文化</blog_title>
  <blog_url>https://blog.mudatobunka.org/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>Rust は「コストのかかるコードは書くのが苦痛であるべき」という思想のもとデザインされている気がする。 というのも Rust を書いていると「意図的にショートカットが用意されていない」と思える場面があるからだ。 いくつか例を挙げてみようと思う。 文字列の連結 String 型の変数 s を所有しているときに、s の 後ろに 文字列リテラルを連結するのは簡単だ。+ 演算子で文字列の連結ができる。 let mut s = String::from(&quot;hello&quot;); s = s + &quot;, world&quot;; println!(&quot;{}&quot;, s); // =&gt; hello, world 一方で s の …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mudatobunka.org%2Fentry%2F2024%2F02%2F26%2F120000&quot; title=&quot;Rust はコストのかかるコードを書くのが苦痛になるようにデザインされている(？) - 無駄と文化&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>2024-02-26 12:00:00</published>
  <title>Rust はコストのかかるコードを書くのが苦痛になるようにデザインされている(？)</title>
  <type>rich</type>
  <url>https://blog.mudatobunka.org/entry/2024/02/26/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
