{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20041030%2F1099087474\" title=\" D\u8a00\u8a9e - ...ing logging 4.0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" D\u8a00\u8a9e","author_name":"haru-s","provider_name":"Hatena Blog","description":"\u5510\u7a81\u306bD\u8a00\u8a9e\u3092\u4f7f\u3044\u305f\u304f\u306a\u3063\u305f\u306e\u3067\uff0c\u66f8\u3044\u3066\u307f\u305f\uff08\uff57 // // \u306f\u3058\u3081\u3066\u306eD\u8a00\u8a9e(5) // import std.stream; int main(char[][] args) { IHowMuch[] fruits; fruits ~= new Apple(100); fruits ~= new Orange(70); fruits ~= new Apple(200); foreach(IHowMuch f; fruits) { f.howMuch(); } return 0; } public interface IHowMuch { void howMuch(); } public cl\u2026","height":"190","width":"100%","blog_title":"...ing logging 4.0","version":"1.0","author_url":"https://blog.hatena.ne.jp/haru-s/","provider_url":"https://hatena.blog","url":"https://haru-s.hatenablog.com/entry/20041030/1099087474","categories":["D\u8a00\u8a9e"],"image_url":null,"blog_url":"https://haru-s.hatenablog.com/","published":"2004-10-30 07:04:34"}