Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@dder
// Was trying to figure out how to upload an image without it spanning the whole width of the comment section. -
Swift has the triple slash syntax for documentation:
///doc here
But you know what? Long names is better than doc comments!
By that logic, it would be good practice to have one letter names everywhere because it is short and you can read the doc if you want to know what it means.
Related Rants
Explaining what a method does:
"""Python has docstrings"""
/** Java has javadocs */
SwiftHasSuperFreakinLongMethodNames()
Seriously Apple...
rant
swift