4 ms·
This is actually really easy to do in most languages by wrapping the code you want to comment in a function. func uglyHackForCombiningTwoThings() { //
by RandallBrown 2y ago
This is actually really easy to do in most languages by wrapping the code you want to comment in a function.
func uglyHackForCombiningTwoThings() {
// Do whatever ugly thing you want to do
}
- GuB-42 2y agoYou don't need a function, a simple {} block is enough if the language supports it. Some languages (ex: Python) don't have that though, you may need a function, or some other construct (ex: if true) in this case.