guidelines

Core principles, rules, and habits for CS students

No doubt there is a lot to read on blogs, in books, and on Stack Overflow, but can we identify some guidelines for CS students to use while studying? For me these are: Finish your course books early and read 4-5 times more material relative to your course work. Programming is the one of the fastest evolving professions. Follow the bl...

Where is the source for Niman's 13 Minimally Sufficient Commandments?

I have a page (page 1), dated February 2, 1989 that my former boss presented to me, outlining Niman's 13 Minimally Sufficient Commandments for programming. (He recognized that they were dated, making this more of an archaeology piece than a modern set of guidelines.) If you haven't seen them, they are as follows: Thou shalt adequatel...

Rules to Develop a Delphi Windows 7 App

Where can I find the best set of rules to follow for developing a Delphi application for Windows 7? ...

Examples of developer guidelines to bring a new developer up to speed

Here are some good examples of coding guidelines: What should coding guidelines do, and are there any good examples of guidelines? What about more general guidelines? Like the VCS process, communications, etc. I want to write something like this, and it would be nice to get some ideas from what others have come up with after many tr...

evaluating cost/benefits of using extension methods in C# => 3.0

Hi, In what circumstances (usage scenarios) would you choose to write an extension rather than sub-classing an object ? < full disclosure : I am not an MS employee; I do not know Mitsu Furota personally; I do know the author of the open-source Componax library mentioned here, but I have no business dealings with him whatsoever; I am no...

Type/Namespace alias conventions in C#

Are there are any established naming or coding conventions for defining namespace or type aliases in C#? For those who are unaware, the C# language has a feature where aliases can be defined local to a file for namespaces and types. This can be useful when there are naming conflicts with third party libraries as well as for shortening t...

Where can I find the Microsoft .NET Framework Development Guide?

I'm positive that this guide existed, but my Google skills seem to be broken today. Could you show me the link to the MSDN pointing to that section? ...

UI Convention: Shortcut key for application exit?

Is there a convention for the shortcut keys for application exit? Some applications uses Alt+X some others use Ctrl+ X and Ctrl+Q. Applications like FF and IE doesnot assign a shortcut at all. So is there any accepted convention for that? Note:Am talking about Windows here. ...

GUI controls appearing and disappearing based on user inputs

I think it's considered a bad practice to have controls appearing and disappearing and the size of the window changing in a single GUI screen dynamically based on a user's input. However, I can't seem to find a definitive reference that states this. I've been asked to create a GUI that has a text box at the top in which a user enters a...

Guidelines/principles for package and component design.

Alright, our visual studio solution grows big in terms of the number of projects in it. Except for things that are obvious, I want to check whether the way it is now is what it has to be or we can better reorganize/package it. Do you know of any good text on guidelines, principles of package and component design that I can reference? ...

Validity Check, which button image should i use?

Hello, in my software there is a validity check, which checks each input in my form. The user can click on a button to do this check. My question is, if there is a recommendation which button-image should be used for a validity check, to get a homogenous gui in a windows-environment. Or are there some gui-design-guidelines which describ...

Guideline for GUI design with dozens of fields in Web Application

I am looking for suggestion and guideline for Web GUI design. The requirement from the business needs dozens of field for reading and for data entry on the same screen. In our previous design of our apps, we tried to - use almost every pixel of space [1] - keep fields logical, related fields close together - prevent scrolling - NO ...

Do java's Inner classes pose a security risk?

Recently the security team on my project released a secure code guidelines document, designed to be used as part of our code reviews. The first thing that struck me was an item that said "Do not use Inner classes". I thought this seemed like a very heavy handed and sweeping statement. Inner classes are good if used correctly right?, but ...

UI guidelines for when to use an expander versus a tab control?

Several parts of our existing business application use a tab control to logically separate groups of data. In other applications I often see the expander control also used for this purpose. Does anyone know of any usability guidelines that provide guidance on when to use the tab control versus the expander control? If it matters I'm...

Proper naming for certain user related properties

What is the proper naming convention in C# for the following user related properties? Social Security Number: SSN or Ssn? Date of birth: DOB or Dob? ...

WPF: Creating snappable grid lines with variable spacing

Hi! I'm currently creating a MSPaint-like WPF-application and struggling with the implementation of a snappable grid. The painting of the grid is no problem with a VisualBrush and a Rectangle but the problem is that these lines are then purely for looks and can't be easily changed (for example highlighted when the snapping to a specif...

Recommended number of lines per Java class file

When getting metrics from a project, if you want to evaluate if a class is way too big, apart from other things, you can look at the number of lines. For Java in particular, what would you say a recommended number would be? I'm looking for a number to be used as part of my continuous integration server checks. Java code conventions (f...

Guidelines for a Password Strength Meter (Password checker) Design

I have tried different types of Password Strength Meters or Password checkers, but all give me different results when I test the same Password, because each implements its own algorithm. Is there some official standard or guideline that can follow me to build my own Password Strength Meter. If there was no official standard, what featu...

Books on designing and implementing a Delphi application

Hi there, I would like to broaden my Delphi horizons by reading a book about creation of Delphi applications. So far I have read books about Delphi mostly from Marco Cantu (Delphi 6-2009) or The Tomes of Delphi Algorithms and Data Structures. But none of them describe the process of application creation from the beginning to end. Somewh...

Setting up a Microsoft development environment (Enterprise level)

I have tried this many times. Every single time I get some problem or the other - Management Studio Express setup tells me .Net Framework 3.5 SP1 is missing in Windows 7!! or unable to create user instance or, blend SDK didn't install properly or default settings of Visual Studio are screwed up or unable to remove visual studio, unable t...