<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ArkLucifer的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ArkLucifer</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ArkLucifer]]></copyright><item><title><![CDATA[对JML规格的理解与JUNIT单元测试的思考]]></title><link>https://blog.csdn.net/ArkLucifer/article/details/161870921</link><guid>https://blog.csdn.net/ArkLucifer/article/details/161870921</guid><author>ArkLucifer</author><pubDate>Wed, 10 Jun 2026 23:31:26 +0800</pubDate><description><![CDATA[这一章的三次作业让我认识到，规格驱动开发并不会替代设计、算法和测试，如果死板的按照JML实现代码，只会得到低效可读性低的代码。真正关键的，是保证逻辑上完全符合规格同时追求性能优化。JML 负责描述“什么是正确”，数据结构与算法负责实现“怎样高效地正确”，JUnit 则负责验证二者是否真正一致。相比记住具体语法，更重要的收获是形成契约意识：在编码前明确边界，在迭代时追踪状态变化，在协作中减少自然语言共识。]]></description><category></category></item><item><title><![CDATA[OO Unit 2 Blog]]></title><link>https://blog.csdn.net/ArkLucifer/article/details/160636470</link><guid>https://blog.csdn.net/ArkLucifer/article/details/160636470</guid><author>ArkLucifer</author><pubDate>Wed, 29 Apr 2026 23:39:07 +0800</pubDate><description><![CDATA[电梯判断是否在当前楼层开门的逻辑shouldopen有问题：只要当前电梯没超载且当前楼层有请求就开门，导致如果当前楼层存在一个电梯载入后就会超重的请求，电梯会判断为开门，但又没有除载客外忽视当前请求的机制，导致电梯在当前楼层陷入开关门流程的死循环。大模型给出的整体框架没有大的问题，可直接使用。电梯线程在进入检修态后要将私有队列中的请求回收至Totalqueue中，因为没有加适当的锁，导致与Dispatcher线程竞争Totalqueue，导致线程不安全，表现为部分Request会被“无视”。]]></description><category></category></item><item><title><![CDATA[OO Unit 1 Blog ]]></title><link>https://blog.csdn.net/ArkLucifer/article/details/159655837</link><guid>https://blog.csdn.net/ArkLucifer/article/details/159655837</guid><author>ArkLucifer</author><pubDate>Tue, 31 Mar 2026 12:37:00 +0800</pubDate><description><![CDATA[一.作业程序结构分析。]]></description><category></category></item></channel></rss>