Comments (4)
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.
Hi @prateekrastogi ! I have very limited experience with Python and none whatsoever with Rust, so I cannot say anything in either regard...
from backendlore.
@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.
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)
- Sharding is very important for any api when it grows. How do you do DB Sharding ? HOT 1
- docker opinion. HOT 9
- CSRF token ideas HOT 9
- Ideas + feedback HOT 2
- Docker instead of Vagrant HOT 3
- hello
- Logging Questions HOT 4
- Certbot setup is outdated HOT 3
- Suggestion about deployment. HOT 2
- What is "mg" HOT 2
- suggestion HOT 4
- Add LICENSE file HOT 7
- Don't use /tmp HOT 2
- How do you perform database migrations? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backendlore.