naught

joined 2 years ago
[–] naught 20 points 5 months ago (1 children)

IMO if you can believe in a religion, you are a dangerous person. You quite literally believe in a fairy tale. Just as plausible santa claus exists. If you can suspend your critical thinking to that degree, what can't you believe? ¯\_(ツ)_/¯

[–] naught 5 points 5 months ago

This is hilarious

[–] naught 19 points 5 months ago

asyncio.run(easy_peasy())

[–] naught 3 points 5 months ago* (last edited 5 months ago)

Ever heard of Darfur?

Also seems like this is an image from a few months ago:

https://www.bbc.com/news/articles/c511vgzvl2eo.amp

Edit: when I made this comment, there were no comments appearing under yours, but apparently there are many 😅

[–] naught 2 points 5 months ago (1 children)

That's fair! Takes time to get used to. Modern editors make this easier by highlighting the current indent level, or can even make the top X lines of the current closure "stick" to the top of the editor for those really long blocks.

[–] naught 2 points 5 months ago

i got yer rent control right here 🔫

[–] naught 6 points 5 months ago (1 children)

A mix of both is better for their teeth. Wet is good for hydration (which cats are bad at), whereas dry is good for teeth. I know some cats who have lost teeth, but my 7/yo has extremely healthy ones and we've never had to do any sort of dentistry

We give her wet & dry together, twice a day and a handful of "Feline Greenie" treats throughout the day which allegedly help with dental hygiene. I have no reason to doubt so far!

[–] naught 6 points 5 months ago

Correct, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply?

The Zen of Python:

Flat is better than nested.

From the python I have seen and written, deep nesting is avoided.

[–] naught 4 points 5 months ago* (last edited 5 months ago) (5 children)

Just curious, what about spaces made it hard? What language would have been easier? In curly brace languages, 99% of the time, a curly brace is followed by a line break and an indent. Python is similar except it's typically a colon, line break, then indent.

What I have learned is: If the code is indented too deeply, it's a code problem, not the language.

Torvalds infamously wrote:

"... if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program."

[–] naught 3 points 5 months ago (1 children)

The butts are also soft and fibrous

[–] naught 1 points 5 months ago
[–] naught 1 points 5 months ago (2 children)

Total download size: Jquery - 72,553 bytes ES6 - 3,567 bytes

This is such a contrived example. I welcome the author to toil away in jquery based projects in the real world.

view more: ‹ prev next ›