- 博客(0)
- 资源 (6)
空空如也
面向对象的C语言
Object-oriented programming is the current cure-all — although it has been
around for much more then ten years. At the core, there is little more to it then
finally applying the good programming principles which we have been taught for
more then twenty years. C++ (Eiffel, Oberon-2, Smalltalk ... take your pick) is the
New Language because it is object-oriented — although you need not use it that
way if you do not want to (or know how to), and it turns out that you can do just as
well with plain ANSI-C. Only object-orientation permits code reuse between projects
— although the idea of subroutines is as old as computers and good programmers
always carried their toolkits and libraries with them.
2012-05-31
C语言重构--Garrido2000
Software Refactoring is an important part of the software development process, especially in
the maintenance phase. For many years, several studies revealed that the cost of software
maintenance is greater than the cost of development ([Boehm 75], [Lientz & Swanson 80]).
Although the problem is recognized, there are not many tools to help
maintainers/programmers. A precise, comprehensive, usable, efficient and complete tool for
software refactoring is much harder to build than an optimizer, because the later does not
need to be usable and comprehensive and complete. It just needs to be precise and efficient in
what it does.
2012-03-28
修改代码的艺术
Do you remember the first program you wrote? I remember mine. It was a little graphics program I wrote on an early PC. I started programming later than most of my friends. Sure, I'd seen computers when I was a kid. I remember being really impressed by a minicomputer I once saw in an office, but for years I never had a chance to even sit at a computer. Later, when I was a teenager, some friends of mine bought a couple of the first TRS-80s. I was interested, but I was actually a bit apprehensive, too. I knew that if I started to play with computers, I'd get sucked into it. It just looked too cool. I don't know why I knew myself so well, but I held back. Later, in college, a roommate of mine had a computer, and I bought a C compiler so that I could teach myself programming. Then it began. I stayed up night after night trying things out, poring through the source code of the emacs editor that came with the compiler. It was addictive, it was challenging, and I loved it.
2012-03-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人