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
-
i kinda like it, makes it easy to see if they are to be internal or imported functions. Os your dislike aesthetic?
-
They're capital because Go encodes visibility in the name, though. Uppercase => public, lowercase => private
-
@12bitfloat I'd have liked the visibility thing to be like Python.
public()
_protected()
__private()
But then, I'm no Google and these are personal aesthetics. -
@sudo-compile Both are pretty bad imo. Why not just a short `pub`. Then you aren't forced into any particular naming convention
-
@sleek Also pretty flexible with `pub(in some::other::module)` and stuff like that
Related Rants
-
justamuslimguy20All the stupid date functions where the days range from 1 to 31 but the months range from 0 to 11
-
sudo-woodo16Whatever the fuck Python's ternary operator syntax is supposed to be.
-
Root18Most hated language features? PL/SQL: • it exists XSLT: • it also exists PHP: • it still exists. VB:...
Every function in any library in Go because it starts with a capital letter
rant
wk229