开发者

attribute name for serial or parallel

开发者 https://www.devze.com 2022-12-11 15:37 出处:网络
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:

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 :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号