Interview Question : What is 'good code'?
Answer : 'Design' could refer to many things, but often refers to
'functional design' or 'internal design'. Good internal
design is indicated by software code whose overall
structure is clear, understandable, easily modifiable, and
maintainable; is robust with sufficient error-handling and
status logging capability; and works correctly when implemented.
Good functional design is indicated by an application whose
functionality can be traced back to customer and end-user
requirements. For programs that have a user interface, it's often a
good idea to assume that the end user will have little computer
knowledge and may not read a user manual or even the on-line
help; some common rules-of-thumb include:
the program should act in a way that least surprises the user it should always be evident to the user what can be done next
and how to exit the program shouldn't let the users do something stupid without
warning them.
Interview Question Category : Testing - General
|