Advertisement
Membership
Login
ACCU Buttons
Browse in : | > Journals > CVu |
- ACCU magic
Description :
There have been many languages for writing applications, but relatively few foundation platforms which support applications that are written in various different languages. We've had assembler (proprietary), then C (an ISO standard), and now we have the Common Language Infrastructure (CLI). The CLI standard is ISO/IEC 23271; the same content is also available online at http://www.ecma-international.org/publications/standards/Ecma-335.htm.
by Thomas PlumCategory: [ CVu Journal Vol 16, #2 - Apr 2004 | Programming Topics ]
Description :
Files form the raw ingredients of a software system - source files, build files, configuration files, resource files, scripts etc. These files are organised into directories.
by Thomas GuestCategory: [ CVu Journal Vol 16, #2 - Apr 2004 | Programming Topics ]
Description :
Back in 2001, the then-editor of C Vu, Francis Glassborow, announced his intention to pass the editorship of this journal on to a new volunteer, and so at the start of 2002 I took the reins. In fairness I should say that Francis gave me considerable support in putting together my first few issues, and to this day continues to invest a lot of time in preparing various sections of C Vu. Since the time I took over, a lot has happened. I personally have moved from Bournemouth to Bristol, from Bristol to San Francisco, and from San Francisco to San Diego. The last two moves are not entirely unrelated to a spirited young lass by the name of Désirée, who was also closely involved when I became engaged and then married. Between those changes and others, it is now time for me to step aside and look for a new editor for C Vu; I can no longer give the job the time and energy it warrants.
by James DennettCategory: [ CVu Journal Vol 16, #1 - Feb 2004 | Journal Editorial ]
Description :
Repository of Projects
We need to program in order to develop our programming skills. Anything more than the most trivial program takes time and effort. Most students (in the broadest sense of someone who is studying) find it hard to motivate themselves with projects whose end product is of little use or interest to them. It is much easier to put in the hours doing a job properly if the result is something we have a personal interest in.
by Francis GlassborowCategory: [ CVu Journal Vol 16, #1 - Feb 2004 | Francis' Scribbles from CVu journal ]
Description :
James,
I thought it was about time I wrote and introduced myself to ACCU members – it’s probably long overdue given that I’ve been production editor for the journals for a couple of years now (just over two years for Overload and eighteen months for C Vu, to be exact).
by Pippa HennessySource : Entered by hand
Category: [ CVu Journal Vol 16, #1 - Feb 2004 | Letters to the Editor ]
Description :
“There is more to life than increasing its speed” - Mahatma Gandhi
We live in a fast food culture. Not only must our dinner arrive yesterday, our car should be fast, and our entertainment instant. Our code should also run like lightning. I want my result. And I want it now.
Ironically, writing fast programs takes a long time.
Optimisation is a spectre hanging over software development, as W.A. Wulf observed. “More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason – including blind stupidity”.
It’s a well-worn subject, with plenty of trite soundbites bounding around, and the same advice being served time and time again. But despite this, a lot of code is still not developed sensibly. Programmers get sidetracked by the lure of efficiency and write bad code in the name of performance.
In these articles we’ll address this. We’ll tread some familiar ground and wander well-worn paths, but look out for some new views on the way. Don’t worry – if the subject’s optimisation it shouldn’t take too long...
by Pete GoodliffeSource : Entered by hand
Category: [ CVu Journal Vol 16, #1 - Feb 2004 | Programming Topics | Professionalism in Programming, from CVu journal ]
Description :
What can be said about C’s everyday do...while loop? It just does something while some condition holds. End of story, right?
No, of course not. That would make the title of this small article silly, so let’s cover two topics.
by James DennettCategory: [ CVu Journal Vol 16, #1 - Feb 2004 | Programming Topics ]
Description :
We have all seen comments in source files which look more like executable code than documentation.
The first line in the body of the for loop below is such a comment: you might expect to be able to remove the leading slashes and have code which compiles and runs, but functions slightly differently.
What did the author of this comment intend?
Example 0
for (Surfaces::iterator sf = surfaces.begin(); sf != surfaces.end(); ++sf) { // std::cout << "Drawing: " << *sf << "\n"; sf->draw(); }
OK, I’m being disingenuous. I’m aware that the comment isn’t really a comment, it’s commented-out code. And, like any tolerant and capable programmer, by examining the surrounding context I can guess why this code has been commented out.
This article examines how to comment out code, then describes various problems which lead to code being commented out, before finally arguing that there’s often a better solution to these problems.
by Thomas GuestSource : Hand entered.
Category: [ CVu Journal Vol 16, #1 - Feb 2004 | Programming Topics ]
Description :
The first step here in finding problems in the code is to identify the problem the code is trying to solve. The discussion in the C Vu article is basically about curiosities in the way in which the C++ standard library std::istream is defined, but I will make the perhaps unwarranted assumption that what the problem the code is really about is not the uses of std::istream, but rather, more generally, how to write a read routine that can effectively and safely capture data from an input stream. Actually as the first problem below illustrates neither of these issues can be effectively addressed without the other.
by Bill ClareCategory: [ CVu Journal Vol 16, #1 - Feb 2004 | Programming Topics ]
Description : This item is part of the Dialogue section of C Vu, which is intended to designate it as an item where reader interaction is particularly important. Readers’ comments and criticisms of published entries are always welcome. by Francis Glassborow
Category: [ CVu Journal Vol 16, #1 - Feb 2004 | Programming Topics | Student Code Critiques from CVu journal. ]
by Francis Glassborow
Category: [ CVu Journal Vol 15, #6 - Dec 2003 | Student Code Critiques from CVu journal. ]
Description :
To err is human.
by Pete GoodliffeCategory: [ CVu Journal Vol 15, #6 - Dec 2003 | Professionalism in Programming, from CVu journal ]
by Francis Glassborow
Category: [ CVu Journal Vol 15, #6 - Dec 2003 | Francis' Scribbles from CVu journal ]
by Andy Nibbs
Category: [ CVu Journal Vol 15, #6 - Dec 2003 | Programming Topics ]
Description :
This article reports on an experimental study, performed during the 2003 ACCU conference, that attempted to measure one particular aspect of developer identifier meaning assignment behavior. The study investigated the extent to which belief in the applicable application domain affects the meaning assigned to identifier names.
by Derek JonesCategory: [ CVu Journal Vol 15, #6 - Dec 2003 | Design of applications and programs ]
Description :
The Internet Isn't Working
by James DennettCategory: [ CVu Journal Vol 15, #5 - Oct 2003 | Journal Editorial ]
by Francis Glassborow
Category: [ CVu Journal Vol 15, #5 - Oct 2003 | Francis' Scribbles from CVu journal ]
Description :
Finding fault.
by Pete GoodliffeCategory: [ CVu Journal Vol 15, #5 - Oct 2003 | Professionalism in Programming, from CVu journal ]