Your trial period has ended!
For full access to functionality, please pay for a premium subscription
Message
5
7
279
📝 Промпт для джунов: документируй код на Python — быстро и понятно

Если вы только начинаете и не знаете, как красиво описать свой код, вот универсальный промпт для ChatGPT или Claude.

Write beginner-friendly documentation for this Python function. Include:
1. General description of functionality
2. Description of parameters and return values
3. Usage examples
4. Potential errors and how to fix them
5. Information about algorithm complexity, if applicable

Code:
[insert your code here]

Бонус: добавьте фразу «Explain like I'm a junior Python developer», и модель упростит всё до максимума — прям как хороший наставник на стажировке.

А вы как документируете функции? Делитесь в комментариях👇

Азбука айтишника #буст
04/04/2025, 00:00
t.me/abc_for_it/1023
Similar message chronology:
Newest first
Similar messages not found