ECE 2524

Introduction to Unix for Engineers

Wish I had this in Stat class!

Usage

The program works as directed, BUT, the makefile didnt work / there wasnt instructions on how to use the makefile. I just compiled the program manually as if I would have normally but just wanted to let the programmers know that the makeifle isnt working.

The code itself matches with what the programmers said. It works just like it said (well I would assume the math is right since Im not familiar with math and stat….

Style

I wasnt a fan of the style – I felt like there were too many unnecssary methods. I think the underlying issue was with the error checking. There are two methods to choose the confidence selector. Theyre exactly the same except one starts with saying theres an invalid input at the beginning. There should be a seperate error checking method.

Besides that, seperate methods were split up which was good. Different functions are in different methods. Another thing that could be fixed to make this more modular is making a seperate function for reading inputs perhaps.

Philosophy

For the most part, this follows Unix design philosophy. The code is simple and modular so more additions can be added easily. Its simple and doesnt do anything unnecessary. This follows the Filter Pattern. It takes in a bunch of data for the stats and prints out the actual statistics. There isnt a better interface pattern.

Bugs

There are some issues with error checking. If you type two invalid inputs in a row with letters, then the second time it messes up and the error checking doesnt work properly. It will skip to the next command prompt even if the value wasnt correct.

Comments

Overall, the code works great. Great project. Useful. If the user follows the program without hitting potential input issues, then the code works perfect!