<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nomusanprogramoing</author_name>
  <author_url>https://blog.hatena.ne.jp/nomusanprogramoing/</author_url>
  <blog_title>nomusanprogramoingの日記</blog_title>
  <blog_url>https://nomusanprogramoing.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんばんは。 だいぶあいてしまいました。 今日は3時間勉強しました。 応用カリキュラムを終わらせました。最後に読んだ読み物課題が勉強になりました。 【オブジェクト指向】 第三者が見てわかりやすいコードにしようという目的の考え方。 クラスを定義するときに、各クラスには「ひとつの役割」が原則。 「一人二役」みたいになると、第三者が見て？？？ってなるので。 「自販機クラス」「客クラス」「商品クラス」 クラスごとにファイルを分けてrequireで呼び出すとすっきりする。 【スパゲッティコード】 オブジェクト指向になってない、ごちゃごちゃしてわかりづらいコード。 問題が起こりやすいし、読みづらいのでわか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnomusanprogramoing.hatenablog.com%2Fentry%2F2020%2F09%2F06%2F211637&quot; title=&quot;9月6日：オブジェクト指向、スパゲッティコード - nomusanprogramoingの日記&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>2020-09-06 21:16:37</published>
  <title>9月6日：オブジェクト指向、スパゲッティコード</title>
  <type>rich</type>
  <url>https://nomusanprogramoing.hatenablog.com/entry/2020/09/06/211637</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
