Git Product home page Git Product logo

Comments (4)

fpereiro avatar fpereiro commented on June 3, 2024 2

Hi Bion! Thanks for your interest!

I write API docs manually and don't generate them automatically. It takes a bit of discipline, but what I do is document the behavior of the endpoint in terms of inputs and outputs (usually JSON body & JSON reply). Here's an example: https://github.com/altocodenl/acpic#routes . This level of documentation has been very helpful for both design & debugging.

In terms of comments within the code, I try to avoid them as much as possible. For sufficiently stable software, my golden standard would be to perform annotated source code (at least on the server code), but that's now a distant dream. Here's an example of what I mean by annotated source: https://github.com/fpereiro/dale#source-code

I'm not sure I understand your question about a Makefile to run infrastructure as code; are you referring to doc generation or to a provisioning/deployment process? I'd be glad to clarify further, although I'm far from an expert if it entails the latter.

Cheers!

from backendlore.

fpereiro avatar fpereiro commented on June 3, 2024 1

Hi @prateekrastogi ! I have very limited experience with Python and none whatsoever with Rust, so I cannot say anything in either regard...

from backendlore.

prateekrastogi avatar prateekrastogi commented on June 3, 2024

@fpereiro Please clarify your opinions on fast-scan indentation issues with Python and optional semi-colons permeability with Rust, if it entails you as a backendlore geek. ;-)

from backendlore.

fpereiro avatar fpereiro commented on June 3, 2024

Hi @bionicles ! Hope I answered your original questions; if I haven't, or you have new ones, feel free to reopen the issue or create a new one. Thanks!

from backendlore.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.