48votes
Why would patient management systems not assert limits for certain biometric data?
Is it possibly just the case that many of these systems were never intended for the mass selection of patient groups? This has absolutely nothing to do with it. Even if this software was only used in ...
28votes
Accepted
Why would patient management systems not assert limits for certain biometric data?
I have worked in this industry, and there are several popular patient management systems which simply accept whatever number the doctor enters for the patient records. In practice this means that if ...
27votes
Why would patient management systems not assert limits for certain biometric data?
Perhaps the assumption is that the doctor knows more than the programmer. Would you want to be the doctor to tell your patient that you can't treat them because the IT department thinks the patient ...
21votes
Positional arguments vs options in a command-line interface
Your question is a false dichotomy. Most places I’ve seen use both. Position based parameters for required parameters, and options based parameters for optional parameters. Kinda makes sense, yeah?
12votes
Is it fine to trap users in a dialog until they enter valid values into components?
It's a fine goal to want your validation logic exist in only one place. It's not fine to take that as an excuse to give the user a lousy experience. You shouldn't "refuse the dialog to be closed&...
12votes
Why would patient management systems not assert limits for certain biometric data?
Certainly, something went wrong to allow this notification to go out, but it's not necessarily a lack of input validation. Strictly forbidding invalid input often sounds simple, but is actually an ...
9votes
Why would patient management systems not assert limits for certain biometric data?
This might have been caused by too much input validation of the wrong sort. When a form doesn't let you enter information in the way you need, and the information is useful or important to your job, ...
8votes
When to prefer print over logging?
Printing and logging serve different purposes. The purpose of logging tools is that they provide you with information after the fact about what a piece of software was doing. These tools are designed ...
6votes
In a REST API, should you correct user input on server side?
I agree with not silently modifying the user input, it could cause for confusion and doesn't perfectly reflect the JSON data the end-user submitted. Although client-side user input verification can ...
5votes
Accepted
Design Pattern for asking users for clarification with one of multiple UI types
This problem is a good fit for the Strategy Pattern: several classes handling that. One that creates a GUI dialog, one that asks for the options on CLI and one that just answers from prerecorded ...
5votes
Vector graphics are smaller in file size and more scalable than raster, why vector graphics are not used more often in web and mobile app development?
Cameras don't draw. That is the by and large of it. Photo's are not drawn, and anything compositing a photo into it still has that not a drawing issue. Processing and Bandwidth aren't free A drawn ...
5votes
When to prefer print over logging?
Each has it's own capabilities. Print lets you write: to a hard coded file path to stdout to stderr only what you say to write Logging lets you write to a user configured file path to a user ...
4votes
Accepted
Python and JavaScript integration for offline use
A web site is sandboxed and cannot execute any external scripts – it is confined to the browser. But it can issue HTTP requests to a server. A server is not necessarily “a machine in some data center”,...
4votes
In a REST API, should you correct user input on server side?
For me there is a clear winner. You should always ask yourself who is responsible for what?. For me, the Rest API (and any API) should be kept simple, never add behaviors outside what's expected ...
4votes
How to Integrate Old UI in Microservice
To get to the answer for your question, you have to ask yourself what value you are going to create by completing the work incrementally. In agile, the idea isn't to do the work in slices just for fun,...
4votes
Approach to designing maintainable, yet informative, user notification messages
First of all, success and error/failure messages are not symmetric. Success should be signalled clearly but unobtrusively. Normally, removing the spinning cursor that indicates a running operation ...
4votes
How does controller work with view in MVC?
1) I suspect it is simply the style which is not as clear as it could: There is knowledge between the View and the expected Model being passed into it The view knows the model (in fact there is an ...
4votes
Design for hardware UIs
The way I would design such a system is by separating the button-handling logic from the application logic by generating (mostly) state-independent events from the button presses and only dealing with ...
3votes
What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
In computer graphics, there are a couple common spatial subdivision data structures that can quickly tell you whether a particular point in "world" space is inside, on, or near an object in ...
3votes
Prefixing a number with + on html inputs
That depends on: The purpose of the input field. What an User expect the page. (User Experience standpoint) Lets discuss an example: For an e-shop page does not make sense to deal with negative ...
3votes
What are the advantages of dynamic configuration based form templates?
None in my view. The danger with the dynamically generated forms approach is that the meta-language for defining a form becomes just as complex as the language you would use to create a hand written ...
3votes
Positional arguments vs options in a command-line interface
The style is ultimately dictated by the complexity of the control that is needed. If you have but one option it is OK to use positional. If you have two it starts to get debatable what the most ...
3votes
What kinds of patterns are ideal for driving complex user interface workflows?
Our REST API responses contain the information needed to display the correct links or buttons, based on the state of the workflow activity at the moment the page is requested. Instead of hard-coding ...
3votes
Is there any risk to having row IDs visible to users?
http://www.agiledata.org/essays/keys.html The advantage of natural keys is that they exist already, you don't need to introduce a new "unnatural" value to your data schema. However, the disadvantage ...
3votes
Accepted
How to properly decouple the service layer from the user interface layer, if the service layer needs to interact with the user?
Well, what I usually do in situations like this (and my answer isn't specific to Python in this case), is to provide some mechanism within the user-interface layer that allows the user-client code to ...
3votes
In MVC, does the view component deliver a new view to the user directly or indirectly via the controller component?
MVC is a pattern, and works the same on desktop, mobile, websites, client, server - whatever implements the MVC pattern tends to follow the same general process (that's why it's a pattern). It just ...
3votes
In MVC, does the view component deliver a new view to the user directly or indirectly via the controller component?
When the view component creates a view, does the view component deliver the view to the user directly, or does the view component send the view to the controller which then delivers the view to the ...
3votes
Usability measures for evaluating UI
The author of your book does not think of usability in terms of the larger discipline of User Experience (UX). The biggest problem with the text book is that it is written like a text book. That ...
3votes
Accepted
Are the steps involved in OOAD well-established?
The terms OOA and OOD were created at the beginning of the 1990s, with the (debateable) mindset of having separate "phases" analysis, design and implemention in the development process, and the idea ...
3votes
Accepted
Am I using the correct terminology for my project?
The term GUI is appropriate for a computing device as soon as you display more than text to influence the interactions with the user. The fact that the user doesn’t interact directly with the screen ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
user-interface × 206user-experience × 30
design × 24
web-development × 15
gui × 13
design-patterns × 12
javascript × 11
ui × 9
c# × 8
architecture × 8
java × 7
web-applications × 7
mvc × 7
validation × 7
winforms × 6
python × 5
programming-practices × 5
ios × 5
c++ × 4
database-design × 4
c × 4
agile × 4
configuration × 4
websites × 4
front-end × 4