Software Development (CSC 321 2016S) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [Teaching & Learning]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Outlines]
Reference: [Slack] [Ruby@CodeCademy]
Related Courses: [Rails Tutorial] [CSC 321 2016S @ EdX] [CSC 321 2015S (Davis)] [CSC 321 2015F (Rebelsky)] [CSC 322 2016S (Rebelsky)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker]
Overview
Where should ethics of computing professionals fit within the Grinnell CS curriculum?
Refactoring is an approach to dealing with bad code smells. For each of the following, think about one or more examples and come up with aproaches to dealing with the bad smells.
Repeated code: Nearly identical procedures
Repeated code: Within a procedure
Magic numbers
Too many parameters
Too-long procedures
Complex control structures, usually with nested ifs
Code that is never executed