Michal

joined 2 years ago
[โ€“] [email protected] 7 points 1 week ago

I have a baby. No need for an alarm, he has one built in ๐Ÿ‘

[โ€“] [email protected] 1 points 1 week ago (2 children)

Never. Fuck concerts. The last time the security took the cap off my water bottle. The tickets are difficult to get, and the music is too loud. Not to mention the sea of smartphone screens blocking the view!

[โ€“] [email protected] 2 points 1 week ago

They shouldn't flaunt all these minerals

[โ€“] [email protected] 3 points 1 week ago

It's a moped,, it's not supposed to be faster

[โ€“] [email protected] 2 points 2 weeks ago

Chaos is a ladder

[โ€“] [email protected] 5 points 2 weeks ago
Connections
Puzzle #667
๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
๐ŸŸจ๐ŸŸจ๐ŸŸจ๐ŸŸจ
๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ
[โ€“] [email protected] 20 points 2 weeks ago (1 children)

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

[โ€“] [email protected] 2 points 2 weeks ago* (last edited 2 weeks 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).

[โ€“] [email protected] 3 points 2 weeks ago
Connections
Puzzle #665
๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ
๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
๐ŸŸจ๐ŸŸจ๐ŸŸจ๐ŸŸจ
๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
[โ€“] [email protected] 3 points 2 weeks ago

โ˜๏ธ

[โ€“] [email protected] 4 points 3 weeks ago
Connections
Puzzle #664
๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
๐ŸŸฆ๐ŸŸฆ๐ŸŸจ๐ŸŸฆ
๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ๐ŸŸฆ
๐ŸŸจ๐ŸŸจ๐ŸŸจ๐ŸŸจ
๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
[โ€“] [email protected] 1 points 3 weeks ago

At least 1 node_modules

view more: โ€น prev next โ€บ