What really gets me about this comment is that the one who wrote this comment shows an attitude of mistrust. Like, are you saying that you're purposely making life harder for your colleagues by not documenting this object because you don't trust them?
I don't think this is written for colleagues. The code might be documented with regular comments, but just not with Doxygen-style comments that gets exported out to API documentation or something.
Well, that is the one thing that does make sense here. Probably this is closed-source code, and they generate API documentation from the doc comments (Doxygen or something). So that class will get a page that explains why there is no details for the stuff there.
Hmm if I'm understanding you correctly, that really isn't the case. This is found within an Android app, and not meant to be used externally by other apps else like a library would be.
For security reasons, we don’t allow our app to be used, as this might attract bad actors. Additionally, we save on both advertising, server costs, legal, and cybersecurity. Also, we don’t get any bad reviews.
Well, that is the one thing that does make sense here. Probably this is closed-source code, and they generate API documentation from the doc comments (Doxygen or something). So that class will get a page that explains why there is no details for the stuff there.
There's two spaces after the comma and "this", you'll have to fuck around with special characters to get that to display in your comment though, or use code blocks..
42
u/campid0ctor Jan 27 '23 edited Jan 27 '23
What really gets me about this comment is that the one who wrote this comment shows an attitude of mistrust. Like, are you saying that you're purposely making life harder for your colleagues by not documenting this object because you don't trust them?
237
u/sr71pav Jan 27 '23
This code is so bad we’ve decided its a feature.
283
u/just_another_w Jan 27 '23
This abomination has a name: security by obscurity
28
u/zukas-fastware Jan 27 '23
:D and for stupidity purposes, I will not teach you how assembly/disassembly works so you would not be able to reverse engineer it.
19
u/walmartgoon Jan 27 '23
For security reasons, we don’t allow our app to be used, as this might attract bad actors. Additionally, we save on both advertising, server costs, legal, and cybersecurity. Also, we don’t get any bad reviews.
14
u/Quard3 Jan 27 '23
Damn that comment describes the documentation status of my entire project…
22
u/VaguelyOmniscient Jan 27 '23
Image Transcription: Code
[Green text on a dark grey background. Like what would be seen in popular code editors]
/**
* For security purposes, this Object will be obscured & undocumented.
*
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
10
u/PelOdEKaVRa535000 Jan 27 '23
*documents that won't document it*
Everyone else: *visible confusion*
9
u/KRIPA_YT Jan 27 '23
The proof is trivia and will be left as an exercise for the reader
4
u/[deleted] Jan 27 '23
This object will self destruct in 10 seconds.
4
u/BiteCoding Jan 27 '23
Kerckhoff cringing right now
2
u/[deleted] Jan 27 '23
Sobscurity
2
u/spectralTopology Jan 27 '23
That object was the first "hello world" function....
2
u/TransportationOk5941 Jan 27 '23
"For security purposes, this project will be obscured & undocumented"
Not sure my PM will accept this, but it's surely worth a try!
1
u/Zstorm999 Jan 27 '23
so python?
-22
u/Inaeipathy Jan 27 '23
For security purposes you will be assigned tasks in a homework-esq fashion for our senior developers to implement in the source code, for security!
130
u/[deleted] Jan 27 '23
[removed] — view removed comment