本文主要内容来自 SpriCoder的博客,更换了更清晰的图片并对原文的疏漏做了补充和修正。
软件工程职业的出现
美国软件开发与维护人员分布 [Jones2006]
二十世纪五十年代
计算机还是研究性机器,只有重要的科研院所机构才拥有研究性计算机,与此相应,从事软件开发的人员基本都是数量较少的研究人员,他们出于研究的目的编写软件。
二十世纪六十年代
有些大型企业开始使用商业大型机,但是商业大型机的高昂费用使得其使用限制在少数企业范围内,基于商业大型机开发和维护应用软件的人员自然也数量不多。
二十世纪七十年代
两个趋势——小型商业机和结构化编程理论,前者扩大了应用软件的需求,后者降低了开发难度、提高了开发成功率,二者联合起来,使得软件行业的公司和从业人员都出现了显著增长,一个软件行业的雏形开始显现。
二十世纪八十年代
个人 PC 和 GUI 的普及,急剧扩大了应用软件的需求,以至于出现了“急需提高生产力”的呼声,这使得软件行业的公司和人员数量也出现了急剧增长。
二十世纪九十年代
随着 Internet 和小型设备(嵌入式设备、移动设备)的发展,软件规模日益增长、领域越发广泛、作用越发凸显,使得软件深入了人类社会的各个角落,软件行业的公司和从业人员数量也继续在急剧增长。
二十世纪九十年代之后
各个细分市场都已经出现了众多软件企业的身影,在新领域开疆扩土的情况只有在全新技术领域(例如移动终端)中会较多地出现,所以全新的软件开发不再像 1990s 之前那样快速地增长,反而是软件维护随着遗留软件越来越多而快速增长。
软件工程职业概况
- 在一个行业中市场的高度细分化往往意味着“职业”(Profession)出现,软件行业也在 1990s 之后开始出现“软件工程职业”。
一个行业(Occupation)熟为职业需要具备下列几个基本特征
- 有一批专职的从业人员
- 界定了一个知识体系,能够明确从业人员需要具备的知识和技能
- 建立了合格的教育体系,能够批量培养职业人员
- 建立了严格的认证体系,能够保障从业人员的合格资质
- 形成了职业的道德规范认同
- 组织了指导性的行业协会。
软件工程师职业素质
- 团队工作能力
- 交流沟通能力,包括与同事的交流,也包括与用户的交流
- 遵守职业的道德标准和操行规范
- 积极参与行业协会活动,遵守行业标准,推进行业发展
- 了解软件工程对社会、经济、法律等相关领域的影响、问题和观点。
软件工程知识体系
- SWEBOK(www.swebok.org)
- IEEE-CS 组织建立的
- 2004 年的 SWEBOK 第二版产生了广泛的影响。
- 2014 年 SWEBOK 的第三版正式发布。
- P. Bourque and R.E. Fairley, eds., Guide to the Software Engineering Body of Knowledge, Version 3.0, IEEE Computer Society, 2014; www.swebok.org.
SWEBOK 的建设目的
- 描述软件工程学科的内容
- 建立全球范围内一致的软件工程视角
- 区分软件工程相对于其他学科的位置,并定义边界
- 为教程制定和培训提供基础
- 为软件工程提供基础培训教材和课程发展
- 为软件工程师的认证(certification)授权(license)供了基础。
SWEBOK V2 的 10 个知识域
SWEBOK V3 增加的 5 个知识领域
教育体系
- 基于 SWEBOK,IEEE-CS 和 ACM 成立了联合工作组,建设并发布了软件工程专业本科教程 CCSE2004,为软件工程专业本科教育计划制定和实施提供指导规范。
- 基于 CCSE2004,我国也建立了《中国软件工程学科教程》[CSEC2005]。
- 2009 年,IEEE-iSSEc 又发布了软件工程专业研究生教程 GSwE2009。
CCSE2004 的内容
- 软件工程学科;
- 指导原则;
- SEEK;
- SE 教程设计与实施的指导原则;
- 建议课程与课程顺序;
- 对不同环境的适应;
- 教育计划的实现与评价。
CCSE2004
- CCSE2004 对软件工程专业本科教育的目标、产出、指导原则、知识体系和课程体系等给出了详细的描述。
- CCSE2004 认为计算科学基础、数学与工程基础、职业实践和软件工程知识(软件建模与分析、软件设计、软件验证与确认、软件演化、软件过程、软件质量、软件管理)是软件工程本科教育的核心知识领域。
职业道德规范
- 因为软件对世界的影响力,使得软件工程师的行为会在很大程度上影响人们的财产、健康甚至生命安全,因此社会开始关注软件工程师的行为,希望他们遵从一个能够服务于社会的职业指导规范。
- 在 1999 年,ACM 和 IEEE-CS 联合指导委员会的软件工程道德和职业实践的联合工作小组提出了《软件工程道德和职业实践规范(5.2 版)》[SEEPP1999]
- 软件工程师应履行其实践承诺,使软件的需求分析、规范说明、设计、开发、测试和维护成为一项有益和受人尊敬的职业。为实现他们对公众健康、安全和利益的承诺,软件工程师应当坚持以下八项原则。
Short version 概述
- PUBLIC - Software engineers shall act consistently with the public interest 公共利益
- CLIENT AND EMPLOYER - Software engineers shall act in a manner that is in the best interests of their client and employer, consistent with the public interest. 满足客户
- PRODUCT - Software engineers shall ensure that their products and related modifications meet the highest professional standards possible. 产品,便于维护
- JUDGMENT - Software engineers shall maintain integrity and independence in their professional judgment. 判断:保证专业性的判断
- MANAGEMENT - Software engineering managers and leaders shall subscribe to and promote an ethical approach to the management of software development and maintenance. 管理:选择管理人员
- PROFESSION - Software engineers shall advance the integrity and reputation of the profession consistent with the public interest. 专业化和职业化
- COLLEAGUES - Software engineers shall be fair to and supportive of their colleagues. 对于同事的关系
- SELF - Software engineers shall participate in lifelong learning regarding the practice of their profession and shall promote an ethical approach to the practice of the profession. 独立性
认证体系
- 教育鉴定。
- 教育鉴定是政府主导的,是用来确认教育机构(主要是大学的相关专业)资质的评审过程。
- 职业认证。
- 职业认证更多得是行业主导的,用来确认从业人员所掌握的软件工程知识和技能。
- 作为最权威的软件工程专业协会,IEEE-CS 提出了 SCP(SWEBOK Certificate Program)、CSDA(Certified Software Development Associate) CSDP(Certified Software Development Professional)成的分级分阶段的软件从业人员认证。
- SCP 主要认证一个人(主要是在校学生)对 SWEBOK 主要内容的掌握情况。CSDA 主要认证一个人(主要是毕业生)是否准备好开始职业工作。CSDP 主要认证软件开发职业人员的技能水平。
- 从业执照。
- 执照通常由政府部门颁发的,只有拥有执照的人才可以参与被认定对公共卫生、安全或者财产有重大利益影响的项目。
- 目前,国内还没有要求软件工程师具备执照才能从事关键项目的要求。
软件职业认证的区别
- 鉴定不同于认证,认证也不同于执照;
- 鉴定针对专业,认证针对个人,而执照则表示行政或者法律允许个人从事关键软件开发的许可。
行业协会
- 软件工程主要有两个专业协会提供支持:IEEE-CS(计算机学会)和 ACM(Association for Computing Machinery)。
- 其中,IEEE-CS 是 IEEE(国际电子电器工程师协会)众多专业学会机构中最大的一个。IEEE-CS 致力于发展计算机和信息处理技术的理论、实践和应用。通过其会议、应用类和研究类的期刊、远程教育、技术委员会和标准制定工作组,学会在它的成员中间不断推动信息互动、思想交流和技术创新。另外一个专业学会 ACM 则是于 1947 年创建,旨在提高世界范围内信息科技工作者和学生的技能。
国际会议
- 软件工程的第一次国际会议 ICSE(International Conference on Software Engineering) 1975 年举行,并且在 IEEE-CS 和 ACM-SIGSOFT 的联合赞助下成为软件工程方面的主要会议。
- 同时,ACM-SIGSOFT 还举办软件工程创立的年会。
- 此外,这两个专业学会还通过单独赞助或者联合赞助的形式,举办很多软件工程课题的研讨会或讨论会。
软件工程的行业标准
- IEEE-CS 是软件工程行业标准的主要制定者。IEEE 的第一个软件工程标准委员会成立于 1976 年,旨在为软件质量保障提供一个规范化标准。
- 现在,IEEE 的计算机学会有一个软件工程标准化委员会,其目标如下:
- 将专业软件工程实践中的名词标准化
- 促进客户、从业者和教育人士使用标准化软件工程语言
- 协调国际软件工程标准化的发展。
IEEE-CS 常见软件工程标准
对职业道德规范的需要
- 发现了重要的安全缺陷
- 谁也不要报告,不然职业生涯可能就没了
- 万事开头难
Scenario 1 场景一
- Jean, a statistical database programmer, is trying to write a large statistical program needed by her company. Programmers in this company are encouraged to write about their work and to publish their algorithms in professional journals. After months of tedious programming, Jean has found herself stuck on several parts of the program. Her manager not recognizing the complexity of the problem, wants the job completed within the next few days. Not knowing how to solve the problems, Jean remembers that a coworker had given her source listings from his current work and from an early version of a commercial software package developed at another company. On studying these programs, she sees two areas of code which could be directly incorporated into her own program. She uses segments of code from both her coworker and the commercial software, but does not tell anyone or mention it in the documentation. She completes the project and turns it in a day ahead of time.
- 直接使用 github 和商用软件等等
Scenario 2
- Three years ago Diane started her own consulting business. She has been so successful that she now has several people working for her and has many clients. Their consulting work included advising on how to network microcomputers, designing database management systems, and advising about security.
- Presently she is designing a database management system for the personnel office of a medium-sized company. Diane has involved the client in the design process, informing the CEO, the directory of computing, and the director of personnel about the progress of the system. Diane has described several options to the client. Because the system is going to cost more than they planned, the client has decided to opt for a less secure system. She believes the information they will be storing is extremely sensitive. It will include performance evaluations, medical records for filing insurance claims, salaries, and so forth.
- With weak security, employees working on microcomputers may be able to figure out ways to get access to this data, not to mention the possibilities for on-line access from hackers. Diane feels strongly that the system should be much more secure. She has tried to explain the risks, but the CEO, director of computing and director of personnel all agree that less security will do. What should she do? Should she refuse to build the system as they request?
- 成本太高,降低安全性拉低成本的操作?
Scenario 3
- Max works in a large state department of alcoholism and drug abuse. The agency administers programs for individuals with alcohol and drug problems, and maintains a huge database of information on the clients who use their services. Some of the data files contain the names and current addresses of clients.
- Max has been asked to take a look at the track records of the treatment programs. He is to put together a report that contains the number of clients seen in each program each month for the past five years, length of each client’s treatment, number of clients who return after completion of a program, criminal histories of clients, and so on. In order to put together this report, Max has been given access to all files in the agency’s mainframe computer. After assembling the data into a new file that includes the client names, he downloads it to the computer in his office.
- Under pressure to get the report finished by the deadline, Max decides he will have to work at home over the weekend in order to finish on time. He copies the information onto several disks and takes them home. After finishing the report he leaves the disks at home and forgets about them.
- 忘记了拷贝的副本,不允许软件源码和客户信息的拷贝
Scenario 4
- In determining requirements for an information system to be used in an employment agency, the client explains that, when displaying applicants whose qualifications appear to match those required for a particular job, the names of white applicants are to be displayed ahead of those of nonwhite applicants, and names of male applicants are to be displayed ahead of those of female applicants.
道德案例
- 虚拟世界的案件
- Facebook
- 好友行为的广播
- 广告
- 信息是否可以被招聘、法律等目的所利用
- 招聘时候去调查应聘者的 SNS 网站
- 给老年人 RFID 芯片的皮下植入
- Facebook
History
- IEEE Board of Governors established steering committee (May, 1993).
- ACM Council endorsed Commission on Software Engineering (Late 1993).
- Joint steering committee established by both societies (January, 1994).
Joint Commission Steering Committee
- 4 goals:
- Adopt standard definitions.
- Define required body of knowledge and recommended practices.
- Define ethical standards.
- Define educational curricula for undergraduate, graduate (Masters), and continuing education (for retraining and migration).
- 3 initial task forces:
- Software engineering body of knowledge and recommended practices.
- Software engineering ethics and professional practices.
- Software engineering curriculum.
Research
- Review of available computing and engineering codes:
- The American Association of Engineering Societies
- Accreditation Board for Engineering Technology · ACM’s Code of Ethics for Professional Conduct
- The British Computer Society Code of Practice
- Institute for the Certification of Computing Professionals
- Engineer’s Council for Professional Development
- The IEEE Code of Ethics
- National Society of Professional Engineers Code of Ethics
- Project Management Institute Code of Ethics
Brief History Timeline
- January 1994 - International Task Force formed the Software Engineering Ethics and Professional Practice (SEEPP).
- July 1997 - Initial version shown to professional societies including ACM’s SIGSOFT.
- November 1997 - Version 3 published in IEEE-CS and ACM magazines.
- Version 4 presented to IEEE review process.
- October 1998 - Version 5.2 unanimously adopted by ACM and IEEE.
职业道德规范
- 详见 PPT