Earlier quoted context omitted.
The conclusion I've come to in regards to comments is that each function should have a comment about WHY it is needed. As you said the code will change and exactly what it does will morph, but the why describes the architecture (somewhat) and hints at the abstraction model.
Please no, do not comment every function. Each function should average 5-10 lines, with clearly defined separation of concerns, and a descriptive name that inherently describes any writes/reads of the function. In the rare case where it makes sense to have a massive function, and you can’t break it into smaller functions within its scope, then maybe it makes sense to use a comment. Adopting a policy of commenting eve…
Stack Overflow for Teams
151–160 of 163 posts
Re: Stack Overflow for Teams
#152Earlier quoted context omitted.
It's only "half the price" if you ignore the cost of Confluence itself. The Atlassian people are also historically awful at building out features that make hosting their products easier (for example, they've ignored a request for a "read only" mode for about 12 years now [1]). The simple fact that it is a product that is made by someone other than Atlassian is a huge selling point. [1] https://jira.atlassian.com/brow…
FYI that we're implementing read-ony mode in our data center product line, and we've also got various knowledge base articles for how to achieve this should you need it: https://confluence.atlassian.com/confkb/how-to-make-confluence-read-only-311920317.html In any software, you've always got old requests that haven't been filled. We're just public about it. StackOverflow has the same issue here: https://meta.stackexc…
It takes a great company to make such a great product so easy to use. Thank you.
Re: Stack Overflow for Teams
#153Seems like "yet another tool to try to offset the problem of requirements, code, and architectural decisions not being adequately documented for future staff to understand." Sometimes I wonder if software teams should add technical writers embed with developers, architects, QA, and BA assets to actually document All The Things and keep documentation up to date. Yes, that will mean re-writing documentations as people…
Part of CMM level 5 process was things like 'Knowledge teams' which did exactly that.
Agile eat CMM for lunch though.
Re: Stack Overflow for Teams
#154My question is, is this better than your self-hosted wiki? At least that's cheaper and isn't a vendor lock-in. Sure wiki doesn't have the best possible UI and the UX might be too so-and-so. If I were in a position to buy this kind of service I'd still want something more out of it. Maybe if it offered a way to export Slack threads into SO as questions so they wouldn't get lost. Sure you could generate those questions…
If your goal is to post problems and associated solutions, yes it is better than a Wiki. First, it gives you a template to post in - you are not given a blank page and told "document this" Second, it encourages you to document single, smaller, focused pieces of information. You're not being asked or expected to write a multipage document, you're being asked to write a single entry in what essentially is a crowd sourc…
Re: Stack Overflow for Teams
#155Earlier quoted context omitted.
I think the win would be in making the answers more findable. Confluence is great for writing documents and laying out pages in a hierarchy, but full-text search is still very hit and miss. Especially when you have 50 projects that all have the same keywords and 49 of them are irrelevant.
> Confluence is great for writing documents Citation needed. I use it almost daily and it's essentially write-only and pretty unusably so at that.
>... it's essentially write-only
Seems like there's no disagreement here :)
Anyway, as I see it, as someone who has written quite enough if it, most software documentation is write-only 99% of the time; but it is occasionally very handy to have that documentation written by the original developers when shit really hits the fan.
Re: Stack Overflow for Teams
#156Seems like "yet another tool to try to offset the problem of requirements, code, and architectural decisions not being adequately documented for future staff to understand." Sometimes I wonder if software teams should add technical writers embed with developers, architects, QA, and BA assets to actually document All The Things and keep documentation up to date. Yes, that will mean re-writing documentations as people…
>>Sometimes I wonder if software teams should add technical writers Part of CMM level 5 process was things like 'Knowledge teams' which did exactly that. Agile eat CMM for lunch though.
But, alas, the pendulum swings. I think it's swinging back toward "I sure wish we didn't have to depend on finding skilled people, and our process was so bulletproof we could plug in any old schmuck and we can just continue to print money".
Damn, the business man is greedy.
Re: Stack Overflow for Teams
#157We've been running this in beta for a couple months now, happy to answer questions about it. The SO team has been super helpful during the process.
Roughly how many programmers do you have? What difficult has it been to get people to participate (on either end of the scale)?
Re: Stack Overflow for Teams
#158We've been running this in beta for a couple months now, happy to answer questions about it. The SO team has been super helpful during the process.
What did you have in place before this (wiki, Slack, Yammer or something like it) if anything? Is this better than finding the right person to ask, or posting in slack or something? In my org we have a wiki on topics and if that fails an "experts" list with people to contact for further help. There is also a yammer group for asking questions, but that is rarely used. I think this could be helpful, but whether or not…
A lot of people still have a natural inclination to just post their questions in chat - probably because it's lower friction than typing up a question and then posting that in chat. We've been trying to shift this by re-posting people's questions in SO and answering them there. It's been mostly helpful, but I'd say we still have a ways to go in shifting people towards SO.
Re: Stack Overflow for Teams
#159Earlier quoted context omitted.
> In a wiki, at least I can follow the structure to find relevant pages Wow! You have much more disciplined coworkers than most of us, then. I've been at my current employer for about 13 years now. We've gone through 3 or 4 different wikis. Right now we're split between Confluence (worst wiki software I've ever used) and an in-house solution. I can't find a god damned thing on either one. They're both awful, and so w…
Confluence is one of the best designed products I've ever worked with. Makes the web behave like a native editor, awesome semantic macros that let you put in warnings or collapsible sections in a few keystrokes, you can generate page source with scripts. Specifically regarding structure: - every page has breadcrumbs letting you navigate up to its parents - "child view" macro shows all children of this page automatica…
Re: Stack Overflow for Teams
#160Earlier quoted context omitted.
Version control only answers "what happened?" not " why did this happen?"
"Why" is what commit messages are for (and also comments); quality of commit message is worth checking in code review while the details are still fresh in everybody's minds...