minus-squarepeereboominc@lemm.eetoProgrammer Humor@lemmy.ml•Using comments as arguments in python.linkfedilinkEnglisharrow-up2·4 days agoSome languages use the comments to generate documentation. Something like // function to add two numbers func Add(num1 int, num2 int) linkfedilink
Some languages use the comments to generate documentation. Something like
// function to add two numbers func Add(num1 int, num2 int)