News for hackers. Stuff that matters.
Re:Why programmers are not paid in proportion to their produ... by TheCraiggers on Wednesday June 29, 2022 @08:44AM (#31919361)
> A developer leaving the company is not responsible ... that the documentation is correct.

I completely disagree. Documentation, however it exists, should always be correct. Whether you document by flowchart, code comments, self-reading code, or some other means, I always maintain that it should be updated as you update the code itself. Just like tests. If you only update it when you need to use it, you're missing the point of it.

Re:Why programmers are not paid in proportion to their produ... by tluyben2 on Wednesday June 29, 2022 @08:49AM (#31919427)
If you get paid and if there is space to do that. There is often the ‘yeah yeah let’s add the rest of the features first the do docs’. I agree with you but this often goes wrong, especially at startups.
Re:Why programmers are not paid in proportion to their produ... by dustymcp on Wednesday June 29, 2022 @11:09AM (#31921268)
adding docs meanwhile isnt always working either as the feature product might change heavily, this is a hard discipline since you need to balance when to doc what.
Re:Why programmers are not paid in proportion to their produ... by jumpman500 on Wednesday June 29, 2022 @10:25AM (#31920583)
A company should demand the documentation they need to understand things when the feature is under-development or shortly afterwards.

Documentation takes time. It's their fault for cutting corners and pushing out a product/service that's undocumented spaghetti code.

Re:Why programmers are not paid in proportion to their produ... by gsibble on Monday July 04, 2022 @11:01AM (#31977778)
They never asked for documentation and instead pushed for more development faster.
Re:Why programmers are not paid in proportion to their produ... by BolexNOLA on Wednesday June 29, 2022 @08:54AM (#31919474)
I don’t think he is saying that a developer is in no way responsible for documentation, that is a pretty uncharitable interpretation of the comment.

I think they’re saying it is not up to the developer to make sure it happening writ large/that there is a system in place. That’s pretty much why we have managers and processes in place that everyone follows beforehand (ideally). If a company doesn’t implement systems, it’s not really up to me to do it. Often I will because it makes my life easier and I’m not a rigid “not my department” personality, but I’m not going to feel personally responsible when they drop the ball and wanted to plow ahead without putting the systems in place upfront. Especially because this often happens despite folks bringing up the need in the first place.

Re:Why programmers are not paid in proportion to their produ... by ElectricalUnion on Wednesday June 29, 2022 @12:27PM (#31922366)
> self-reading code

I always strive to make my code simple and readable, but there's a saying that "one person organization is another hot mess".

Re:Why programmers are not paid in proportion to their produ... by icedchai on Wednesday June 29, 2022 @11:40AM (#31921715)
Right or wrong, docs and tests are often given the lowest priority. Everything is good in moderation: you want some docs (especially for external APIs), some tests (integration > unit in many cases), but don't go overboard. You don't need 1000 unit tests for a little CRUD app. Documentation is subject to drift. For internal APIs, you're better off looking at the code.
Re:Why programmers are not paid in proportion to their produ... by gsibble on Monday July 04, 2022 @11:02AM (#31977782)
It was a bank with high security, so the code actually had 100% coverage in tests.
Re:Why programmers are not paid in proportion to their produ... by gsibble on Monday July 04, 2022 @10:58AM (#31977731)
I was working 100 hour weeks and not given any time for documentation or knowledge transfer. The code was certainly self-reading but it was a very complex system, especially security wise as it was a bank. Their other developers were juniors and couldn't understand it so they threw it out and started from scratch.

I quit with no notice because I was burnt out and promised a vacation when the product launched. They renegged after denying me a raise multiple times. So I left.