attribute name for serial or parallel
I have a rails model that needs an att开发者_开发知识库ribute that can have a value of either serial or parallel, what would be the correct name for this attribute?
Some ideas:
communication
communication_stream
communication_type
stream
stream_type
This needs more context. Many things can fall into either serial or parallel descriptions. Ports, and circuits come to mind.
If this is the case, I'd name the attribute type, prefixed with a generic description of the the object in question.
Example, If it the model dealt with an electronic device that connected on either the serial or a parallel port, I'd name it port_type.
Turns out the name I'm looking for is seriality. Thanks for the responses though :)
精彩评论