【The Clean Code Blog】roots

news/2024/7/10 23:32:57 标签: blog

original

http://blog.cleancoder.com/uncle-bob/2021/09/25/roots.html

story

Bob炫富。
15岁:和小基友Tim每个星期都去Digital Equipment Corporation玩,然后遇到了PDP-8
20岁:在Teradyne Applied Systems工作,使用M365,其实就是一个升级版的PDP-8
64岁(2015年):在IPAD上手写了一个PDP-8的模拟器。纯粹是吃饱了没事干。然后在这个模拟器上实现了Euler 4程序,一个用来寻找回文数字的程序比如12321这个数字。

lessons

了解了Bob大叔玩过的一个远古机器。
计算机界的大牛真是是上至前端界面开发,下至汇编甚至电路板都精通。国内螺丝钉码农自愧弗如。


http://www.niftyadmin.cn/n/891767.html

相关文章

如何在spring注册一个处理其他Bean的Bean

场景 假设我们需要深度定制spring,比如我需要控制Autowired或者Value的执行逻辑,此时我可以: Configuration public class AppConfig {Beanpublic static PropertySourcesPlaceholderConfigurer propertyPlaceholderConfigurer() {return new Property…

spring依赖查找和依赖注入

依赖查找 查找对象就是spring 容器管理的各种Bean, 包括 xml bean definitionjava annotation and configurationspring内建Bean, eg:AutowiredAnnotationBeanPostProcessor手动注册BeanDefinition 依赖注入 可以通过依赖查找获取的所有Bean外部化配…

Assignment 读写分离以及无竞争/无锁优化

Setting & Shipment & Assignment Setting: 就是一系列rule:比如 client_id 123 Shipment:setting作用的对象,shipment有一个属性client_id,如果等于123, 那么这个setting会生成一个assignment&a…

spring framework notes

文章目录OverviewDesign Philosophycore1. The IoC Container1.2. Container Overview1.3. Bean Overview1.4. Dependencies1.5. Bean Scopes1.6. Customizing the Nature of a Bean1.7. Bean Definition Inheritance1.8. Container Extension Points1.9. Annotation-based Con…

spring-boot notes

文章目录Getting StartedCore FeaturesSpringApplicationExternalized ConfigurationProfilesLoggingTasks Exec and SchedulingTestingCreating Your Own Auto-configurationWebDataRedisProduction-ready FeaturesGetting Started Spring Boot helps you to create stand-al…

@Bean与@Coponent的初始化

示例代碼 Slf4j public class Cat implements BeanNameAware {Autowired private ApplicationContext applicationContext;public void hi() {log.info("cat say hi from {}", applicationContext);}Overridepublic void setBeanName(String name) {log.info("…

SpringFramework 之EnableCaching

文章目录用法ProxyCachingConfigurationCacheAutoConfigurationRedisCacheConfiguration用法 Target(ElementType.TYPE) Retention(RetentionPolicy.RUNTIME) Documented Import(CachingConfigurationSelector.class) public interface EnableCaching {/*** Indicate whether …

协作编程指南: Insepction

背景 今天读到《代码大全》第21章 Collaborative Construction(协同构建)的时候,对其中推荐的方法Inspection感触颇深。基本上所有的公司都会制定代码规范要求程序员遵守,但是还是有很多团队的代码质量惨不忍睹,为什么…