matlab-novice-inflammation icon indicating copy to clipboard operation
matlab-novice-inflammation copied to clipboard

Get back to simpler code?

Open rgaiacs opened this issue 9 years ago • 3 comments

At last debriefing session someone mention that

defensive programming lesson as written takes a big leap from the previous lessons; the normalize_rectangle and range_overlap code would be tough for beginners to jump into. Maybe instead of starting with that tough new code we could throw some "assert" commands into their run_analysis function (for the inflammation data) to make sure the loaded datasets have the correct number of lines.

and

lesson going back to simpler code (maybe the temperature functions) would be helpful.

rgaiacs avatar Jul 17 '15 12:07 rgaiacs

Thanks, @r-gaia-cs

I raised an issue about this in the Python lesson repo a while ago: https://github.com/swcarpentry/python-novice-inflammation/issues/134

It's good to know that other instructors feel the same way. Happy to implement this for the MATLAB lessons. Thanks!

shwina avatar Jul 24 '15 15:07 shwina

any action required?

gvwilson avatar Jul 31 '16 13:07 gvwilson

I think this is a good idea, but I'm not sure what sort of example we might use instead. Any ideas? If possible it would be good to link back to the inflammation narrative.

gcapes avatar Jul 13 '18 15:07 gcapes