简体   繁体   English

Ruby和C ++中的Java样式注释?

[英]Java-style annotations in Ruby and C++?

  1. What would be the way to have java-style annotations in Ruby and in C++? 在Ruby和C ++中具有Java样式注释的方式是什么?

(Optionally, perhaps it is a matter of taste) (可选,这可能是一个品味问题)

  1. Are java-style annotations worth to be used, so you would recomend using them in other languages, if possible? 是否值得使用Java样式的注释,因此如果可能的话,建议您使用其他语言?

Java-like annotations in Ruby Ruby中类似Java的注释

How to simulate Java-like annotations in Ruby? 如何在Ruby中模拟类似Java的注释?

But, in C++? 但是,在C ++中?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM