3 ms·
This code looks to me to be fairly well constructed. There's a nicely written Sensor class and it looks like reasonable MVC. Yes, today it might be overkill for
by blueatlas 12y ago
This code looks to me to be fairly well constructed. There's a nicely written Sensor class and it looks like reasonable MVC. Yes, today it might be overkill for such a simple application, but I contend that this will be easier to extend into something less trivial down the line. If you are a Java guy, this is an excellent example to learn some basics of dealing with sensors.