View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000142 | Rosetta | [All Projects] Bad Coding | public | 2012-10-23 11:12 | 2012-10-23 13:18 |
|
Reporter | smlewis | |
Assigned To | smlewis | |
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Fixed in Version | | |
|
Summary | 0000142: Residue and ResidueType dangerously share method signatures |
Description | In Gordon's creation of chemical::Atom, I noticed that ResidueType and Residue both have functions named xyz(). This seems dangerous for new coders - code accidentally using the ResidueType version would compile fine, but they were likely to want the Residue version. Any objections to me renaming ResidueType's functions to indicate their ideality and prevent accidental use (probably as ideal_xyz)? |
Tags | No tags attached. |
|
Application(s) Affected | -- |
Command Line Used | -- |
Developer Options | |
Fixed in SVN Version | 51768 |
|
Attached Files | |
|