Liskov Substitution Principle, LSP (Richter Substitution Principle) means that subclasses must replace their parent types. In other words, in the process of software development, after the subclass replaces the parent class, the behavior of the program is the same. Only when the subclass replaces the parent class and the function of the software is not affected can the parent class be truly reused, and the subclass can also add new behaviors to the parent class. In order to look at an example of violation of LSP principles, the specific code is as follows:
剧本杀店老板胡蝶意外摔倒后成为剧本女主角蝴蝶,收获一名忠犬侍卫简临,却发现这根本不是她写的那个剧本!她必须拯救因剧本修改太多而充满戾气的简临,从而回到现代。胡蝶带着简临一步步搜证,却触发了一个又一个案件,在遭遇了追杀、维护、吃醋等经历后二人感情迅速升温。随着探案的深入,意外解锁了简临的真实身份—城主的遗腹子,背后的阴谋和真相在他们的调查中慢慢浮现。
然暗巫为了夺取玲珑石,不惜使用黑暗血腥手段,于暗中挑起西魏、南梁以及阿柴族三方矛盾,欲图倾覆政权,趁乱夺取玲珑石。十一皇子元澈为了守卫国家边城,不惜以命相搏,几近魂飞魄散。幸得巫族相助,以月华石护住其心脉,使得其尚有一线生机。
[News] On March 15, Chengdu Business Daily reported that "talented women from Peking University returned to their hometowns to start their own businesses and gave up white-collar express delivery." The report said that Xu Lu, manager of Yuantong Express Company in Shifang City, was admitted to Peking University's journalism major with excellent results in 2000. After graduation, he worked in a well-known technology company and a real estate company in Beijing successively, becoming a white-collar high-paying group. However, in order not to suffer from the separation of husband and wife, after marriage, she gave up her white-collar life in Beijing and chose to return to her hometown to start her own business. Now, Xu Lu can not only drive a truck to deliver express, but also be a "female man" who can carry about 100kg of express. After the report was released, many media reprinted it, triggering a heated discussion.
1976年,凯伦和巴里·梅森(Barry Mason)在《洛杉矶时报》(Los Angeles times)上接了一则广告,当时他们正在寻找一种养家糊口的方式。拉里·弗林特正在为《骗子》杂志寻找发行商。当他们接管了当地的一家书店、一个书城时,原本被认为是短暂的副业,却让他们完全沉浸在了LGBT社区中。十年后,他们成为美国最大的同X连色Q发行商。这部电影关注的是他们所过的双重生活,试图在LGBT文化还未被接受的时候保持作为父母的平衡。他们面临的许多挑战包括因联邦猥亵罪被起诉而面临监禁,以及在艾滋病危机最严重的时候让他们的商店成为避难所。书的马戏团提供了一个罕见的一瞥到一个不为人知的一章的同X连历史,它是通过镜头的主人自己的女儿,雷切尔梅森,一个艺术家,电影制片人和音乐家。
一场洪灾让儿时玩伴澪和野江被冲散。澪被大阪料理名店天满一兆奄的老板娘收留,给予了澪温暖,也发现了澪极具料理天分。一场大火烧了店铺也葬送了老板的性命。澪和老板娘肩负着重振天满一兆奄之名,来到了江户。无意中被一家名为鹤屋的料理店老板发现,勾起了老板对已逝女儿的回忆,在发现澪颇具天分后,让澪在鹤屋帮起忙来。
但最初澪的料理并没有得到客人的喜欢,相反还惹怒了客人。使其料理之路步履维艰,在几次受挫和经由浪人小松原及永田医生的点拨和帮助后,澪悟出了大阪和江户饮食的差别,做出了改变。改良后的食物得到了肯定,但很快就被其它店铺模仿,于是澪开始思索真正属于自己的味道,鹤屋生意的兴隆让老牌名店嫉妒不已且暗中想要破坏;而另一方面,儿时玩伴野江也在江户,以自己的力量守护着澪······