一次编程实践

      某天上午,一同事突然过来对我说,走咱们去搞一次敏捷开发,当时让我稍感困惑,我以为只是像平常一样让我去帮忙看个小问题,由于他对MFC不太熟悉,然来是让我配合一起开发一个小工具,呵呵,看来MFC做小工具还是蛮受欢迎的嘛!

      刚好半年没碰过这东西了,这次正好实践一下敏捷开发,哈哈,山寨版的,他像我描述下了大致需要做个什么东西,然后在纸上画了下界面,由于需求很简单,界面也不负责,我直接拖控件开工了,我们一边讨论一边写代码,这样很快就有一个跑起来的大致框架了,在我一步一步编写讲解以及他自己的MFC基础上,他很快就可以自己上手了,开始我还将一些出数据的包装给弄了个class,后来在他自己写的过程中,发现没必要,我们又稍微重构了下,后来基本上就他自己完成了,第二天上午就完工了,期间我们也交流了几次,不管怎样,这也算的上一次结对编程吧,第一次体验,还不错。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
课后作业 1. 简述zookeeper在HBase中的作用 2. 如何获取链接zookeeper的客户端的信息 3. 简述如何用zookeeper实现一个普通的一对多fifo队列 4. 使用伪代码简述mapreduce的流程和中间结果 其中input和output都是fileinputformat和fileoutputformat 5. 编写程序实现倒排索引 首先准备数据:1.txt,文件内容如下: The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-available service on top of a cluster of computers, each of which may be prone to failures. 文件2.txt的内容如下所示: In order to scale the name service horizontally, federation uses multiple independent Namenodes/Namespaces. The Namenodes are federated, that is, the Namenodes are independent and don’t require coordination with each other. The datanodes are used as common storage for blocks by all the Namenodes. Each datanode registers with all the Namenodes in the cluster. Datanodes send periodic heartbeats and block reports and handles commands from the Namenodes. 建立类似的文件,放入/test1文件夹下 要求处理结果为: The 1.txt n 2.txt n Apache 1.txt n 2.txt n 其中,n为某个单词在某个文件出现的次数,即,格式解释为:单词iterator<所在文件 出现次数>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值