如何在编程项目中取得成功 [英] How to be successful in programming project

查看:61
本文介绍了如何在编程项目中取得成功的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

i在我的脑海里总是有这个问题,但我仍然没有找到我的问题的完整答案。

想象我们有关于的项目例如自动化学校。



当我们想要建立这个庞大的项目时,我们大多数人。我们第一次打开C#,c ++,... IDE'并开始编写代码。我认为这是错误的。在电子等不同专业。当他们想要建立一个电路时,他们在Proteus中做了一些模拟,然后开始购买电路部分,如ic,wir​​e等。



当你想要开发或更好地说从头到尾构建一个应用程序时,你通常会做什么。



你是否在理性玫瑰中模拟它然后实现它。

你在ms项目中做时间管理然后去理性上升然后实现它。

谢谢

hi there
i always have this question in my mind, but i still doesn''t find a full answer for my question.
imagine we have project about for example an Automation School.

most of us when we want to build this huge project. at the first time we open up C#, c++ , ... IDE''s and start to write code.i think it is wrong. in different major like electronic. when they want to build a circuit, they do some simulation in Proteus then start to buy the circuit part like ic, wire and ect.

what do you usually do when you want to develop or better to say build an application from start to end.

do you simulate it in rational rose then implement it.
do you do Time Management in ms project then going to rational rose and then implement it.
thanks

推荐答案

这可能是错误的地方问这个问题,因为它不是一个绝对答案的问题 - 它取决于在很多因素上,包括你问的人。在休息室中提出这个问题可能更有意义[ ^ ](但要指出这不是编程问题,这是关于程序员如何工作的问题)。休息室更适合围绕一个项目进行一般性讨论,而不是质量保证,这对于解决方案的问题非常重要! :笑:



但是,就个人而言,我从规范开始。如果没有一个,或者说它不够具体,我就写下来,并得到那些愿意给我工作的钱的批准。从那里开始,我将从整体结构开始进行设计,并将其完善到模块级别。包含在其中的可能是一些原型,特别是数据,以确保一切按照我的意图工作。

然后我将做测试规范,并设计测试(理论上,我可以做之前系统设计,但由于系统设计往往会导致规格的变化,所以在这里做一般会减少我的工作。)

从那里,我可以开始编码。然后测试。,并编写更多代码,并测试更多...

测试将导致所有级别的更改,直接返回到规范。文档在所有阶段生成,并在我进行时更新。



听起来很多?事实并非如此 - 有时这些阶段都适合放在一张纸上! (但有时每个阶段都是一个小小说的大小...)
This is probably the wrong place to ask this, because it isn''t a question with an absolute answer - it depends on a huge number of factors, including who you ask. It might make more sense to ask this in the Lounge[^] (but do point out that this isn''t a programming question, it''s a question about how programmers work). The Lounge is better for general discussion around a subnject than QA, which is really meant for questions with a solution! :laugh:

But, personally, I start with the specification. If there isn''t one, or it isn''t specific enough, I write it, and get approval from whoever is going to be giving me money for doing the work. From there, I will do design, starting with the overall structure, and refining that to a module level. Included in that will likely be some prototyping, particularly of data to ensure that everything works as I intend.
Then I will do the test specification, and design the tests (In theory, I could do this before the systems design, but since the systems design tends to cause changes in the specification, doing it here general reduces the re-work for me.)
From there, I can start to code. And test., and code some more, and test some more...
Testing will cause changes in all levels, right back to the spec. Documentation is generated at all stages, and updated as I go along.

Sounds like a lot? It isn''t, really - sometimes these stages all fit on a sheet of paper! (But sometimes each stage is the size of a small novel...)


这篇关于如何在编程项目中取得成功的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆