gheorghelisca/cram_pr2 — comment on commit cf965d03eeaff3e6d46c3eaedd67b23120bec782
File: pr2_manipulation_process_module/src/process-module.lisp line 616
By moesenle:

open-drawer-left and open-drawer-right basically contain similar code. Don't copy-paste code because if you do, you need to fix bugs in several locations and that's really error prone. Rather use functions and function parameters to not need to copy-paste code. If you still need to, re-think your design and refactor your code until no code is duplicated anymore.