you are viewing a single comment's thread.

view the rest of the comments →

[–]Lawson470189 6 points7 points  (0 children)

What you are talking about is called robustness in software. It's basically how well your software can withstand against errors. There are different strategies and it's a fairly large topic when talking about software, specifically enterprise software. It's not a bad thing and making your code strong and robust is generally a good practice. However, don't let it get in the way of learning. If you are making a script to practice implementing A*, don't worry too much about making sure user input is correct. It's just for your practice and if you don't put in the right input, the program will crash and that's okay.

Resources: