Michal

joined 2 years ago
[–] Michal@programming.dev 5 points 4 months ago
Connections
Puzzle #667
🟩🟩🟩🟩
🟨🟨🟨🟨
πŸŸͺπŸŸͺπŸŸͺπŸŸͺ
🟦🟦🟦🟦
[–] Michal@programming.dev 21 points 4 months ago (1 children)

That's not an error, it's a warning. It shouldn't break anything...

[–] Michal@programming.dev 3 points 4 months ago* (last edited 4 months ago)

Docstrings are important and their role is different than comments. They give an overview how the function works, explain parameters and sometimes give examples how to use them. You can generate documentation using sphinx from Docstrings, and as others said IDEs use docstrings to show you information about function you're using.

Comments are just text that gets ignored by interpreter. You can add explanation to code if it's not self explanatory, but they're not useful outside of the immediate area being commented on.

Other languages also have documentation options that is separate from comments, e.g. JavaDoc. The syntax is usually similar to coment, but slightly different to differentiate it from comments (extra * in multiline comment).

[–] Michal@programming.dev 3 points 4 months ago
Connections
Puzzle #665
🟦🟦🟦🟦
🟩🟩🟩🟩
🟨🟨🟨🟨
πŸŸͺπŸŸͺπŸŸͺπŸŸͺ
[–] Michal@programming.dev 4 points 4 months ago
Connections
Puzzle #664
🟩🟩🟩🟩
🟦🟦🟨🟦
🟦🟦🟦🟦
🟨🟨🟨🟨
πŸŸͺπŸŸͺπŸŸͺπŸŸͺ
[–] Michal@programming.dev 1 points 4 months ago

At least 1 node_modules

[–] Michal@programming.dev 3 points 4 months ago

Interesting idea, but that front seat is uncomfortably close to the rear wheel. The one in the photo doesn't even have any fender. Imagine your child getting splashed in mud...

[–] Michal@programming.dev 2 points 4 months ago
Bandle #959 1/6
🟩⬜⬜⬜⬜⬜
Found: 20/29 (69%)
Current Daily Streak: 2 (max 7)
#Bandle #Heardle 
https://bandle.app/
[–] Michal@programming.dev 40 points 4 months ago (13 children)

Who buys a toilet you can only flush with an app??

[–] Michal@programming.dev 3 points 4 months ago (1 children)

This one should be easy for most men.

I can't stop thinking about the worldle I just played…

#Worldle #1166 (01.04.2025) 1/6 (100%)
πŸŸ©πŸŸ©πŸŸ©πŸŸ©πŸŸ©πŸŽ‰

https://worldle.teuteuf.fr/ 
[–] Michal@programming.dev 5 points 4 months ago

Now they burn fuel running ai every hour

view more: β€Ή prev next β€Ί