phetsims / gene-expression-essentials

An educational simulation about how genes work to create proteins.
GNU General Public License v3.0
4 stars 6 forks source link

comments should be added for the former inner class states #58

Closed jbphet closed 7 years ago

jbphet commented 7 years ago

There are a number of types that were inner classes in the Java version of the sim that have been pulled out into their own type in the JavaScript version, such ass AttachedAndConformingState.js. This is fine, but in the context of the Java simulation, it was clear that AttachedAndConformingState only related to RNA polymerase. This isn't at all clear in the JavaScript version, and not comments have been added to make it clear. In most if not all cases, there is a terse comment that says, 'One of sub-states for the attached site', which doesn't really make sense. The header for each of these should be updated to say which biomolecule(s) the state is used for.

aadish commented 7 years ago

fixed, closing