Comments (3)
When using the I/O method of testing, you should not create multiple scanners. Reason: all input text (given in one shot via the file) is swallowed by the first Scanner, leaving nothing for the subsequent scanners.
from forum.
On a general note, the current code is tailored for a CLI interface where each command is stand-alone. Prompting for user input is hard to fit into the current code base, unless you put the code somewhere it doesn't belong, such as what you have done. :-p i.e. Interacting with the user should not be done in one place rather than all over the code base.
EDIT: should not be -> should not be
from forum.
Oh yeah I tried to get the existing system to accept user inputs one by one, but found it too complicated to modify (hence the cheap hack with creating a new class to tack onto the existing 'add person' method).
from forum.
Related Issues (20)
- 💡 Common sequence diagram errors to avoid
- Clarification for Project Portfolio HOT 1
- listbirthday feature for reuse HOT 7
- v1.5 Submission Checklist HOT 2
- RemoveTag Command Reuse
- Last Minute Reuse: SMS Command
- Autocomplete Feature: Reuse
- 📣 Final submission over. What's next?
- 📣 A note about semester-end student feedback exercise
- 📣 Important note about Final Peer Evaluation (Part 1 & 2) ❗️ HOT 4
- 📣 Team allocation and seating plan for practical exam
- 📣 Sample exam paper (Part 2) is now available
- 📣 You can respond to PE bug reports now HOT 22
- Practice exam question 21: composition and cyclical links HOT 12
- 💡 Some parts of the text book can be removed before printing
- 📣 Marks released: phase B participation, project management, mock exam HOT 4
- Mock paper 1 question 21 HOT 2
- Doubts about MCQ(Part 1) of final exam HOT 1
- UML diagram for an interface implementing another interface HOT 5
- Sequence diagram- when do we draw the return arrow? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forum.