良好的发展实践 [英] Good development practices

查看:68
本文介绍了良好的发展实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我做了一些编程,主要是在嵌入式系统上,但现在我想要b $ b,我觉得我必须学习良好的开发实践(即程序员的

礼貌)。假设我想使用一些

建立的开源库或应用程序来构建应用程序。我只是下载

来源并劈开吗?或者我最好以某种受控方式进行操作,即
设置一些源代码控制系统,以便我可以始终从原始代码计算差异

?或者也许我应该尝试保持我的更改

与原始代码库分开?我该怎么做?


我在哪里可以学到这样的东西?我很抱歉在这里问这个问题,

我们在哪里讨论符合标准的C / C ++编程,但我真的不知道现在知道其他任何地方的b $ b。我用C / C ++编程。


问候,

Nickolai Leschov

Hello,

I have done some programming, mostly on embedded systems but now I would
feel like I have to learn good development practices (i.e programmer''s
good manners). Let''s say I want to build an application using some
established open source library or application. Do I just download the
source and hack away? Or I''d better do it in some controlled manner, i.e
set up some source control system so that I can always compute the diffs
from the original code? Or maybe I should try to keep my changes
separate from the original code base? How do I do it?

Where do I learn about things like that? I''m sorry for asking this here,
where we dicuss standard-compliant C/C++ programming, but I really don''t
know any other place now. I do program in C/C++.

Regards,
Nickolai Leschov

推荐答案

Nickolai Leschov写道:
Nickolai Leschov wrote:

[..]我

我觉得我必须学习良好的开发实践[...]


我在哪里可以了解这类事情?我很抱歉在这里问这个

,我们讨论符合标准的C / C ++编程,但是我现在还不知道其他任何地方。我用C / C ++编程。
[..] I
would feel like I have to learn good development practices [..]

Where do I learn about things like that? I''m sorry for asking this
here, where we dicuss standard-compliant C/C++ programming, but I
really don''t know any other place now. I do program in C/C++.



news:comp.sofware-eng。


V

-

请在通过电子邮件回复时删除资金''A'

我没有回复最热门的回复,请不要问

news:comp.sofware-eng.

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask


1月17日下午2:03,Nickolai Leschov< nlesc ... @ gmail.comwrote:
On Jan 17, 2:03 pm, Nickolai Leschov <nlesc...@gmail.comwrote:

你好,
Hello,



Nickolai


[snip]

Hi, Nickolai

[snip]


Where我是否了解这类事情?我很抱歉在这里问这个问题,

我们在哪里讨论符合标准的C / C ++编程,但我真的不知道现在知道其他任何地方的b $ b。我用C / C ++编程。
Where do I learn about things like that? I''m sorry for asking this here,
where we dicuss standard-compliant C/C++ programming, but I really don''t
know any other place now. I do program in C/C++.



好​​的,首先要认识到没有像

标准兼容的C / C ++编程这样的东西,因为没有标准的

定义了一个名为C / C ++的东西。


但是,有/ C语言的标准,和/不同/

C ++语言的标准。你将不得不选择你想要了解的关于wrt标准兼容的语言。编程。

如果你打算用/ C和C ++编程,你将不得不学习两种标准,以及一些关于语言调用

(IIRC,C ++标准谈到,但C标准确实没有b $ b。)


有所有这一切,comp.lang.c和comp.lang.c ++似乎都不是我b / b
成为讨论符合标准理论的最佳场所

编程" ;.这两个新闻组都讨论了

标准兼容编程的做法,并试图将理论留给其他

组。


HTH

-

Lew

OK, first thing is to recognize that there is no such thing as
"standard-compliant C/C++ programming", because there is no standard
that defines something called "C/C++".

However, there /are/ standards for the C language, and /different/
standards for the C++ language. You are going to have to choose which
language you want to learn about wrt "standard-compliant" programming.
If you are planning to program in /both/ C and C++, you''ll have to
learn both standards, and a bunch of things about inter-language calls
(which, IIRC, the C++ standard talks about, but the C standard does
not).

Having said all that, neither comp.lang.c nor comp.lang.c++ seem to me
to be the best place to discuss the theory of "standard-compliant
programming". Both of these newsgroups discuss the practice of
"standard-compliant programming", and try to leave the theory to other
groups.

HTH
--
Lew




Lew Pitcher < lp ****** @ teksavvy.com写了留言

"Lew Pitcher" <lp******@teksavvy.comwrote in message

>

好​​的,首先要认识到那里不存在符合标准的C / C ++编程这一事实,因为没有标准的定义称为C / C ++的标准。 。
>
OK, first thing is to recognize that there is no such thing as
"standard-compliant C/C++ programming", because there is no standard
that defines something called "C/C++".



标准兼容的C / C ++将是一种语言,任何人都可以称之为C,或C

带有几个小辫子,但实际上符合C ++标准。

写了数千个这样的程序。


-

免费游戏和编程好东西。
http://www.personal.leeds.ac.uk / ~bgy1mm

Standards-compilant C/C++ would be a language that anyone would call C, or C
with a few twiddles, but actually conforms to the C++ standard.
Many thousands of such programs are written.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm


这篇关于良好的发展实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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