Hold my door, I’m going in!
Hold my door, I’m going in!
Funny, the forced indentation is what I hate about Python. If you think a missing semicolon can be hard to catch, don’t ever think about a missing whitespace :p
The end
keyword really isn’t a big deal for me. I find it to be a good way to easily spot the end of a method. But if you wouldn’t like it I’d still find it a good compromise to avoid syntax issues due to whitespace.
I keep forgetting that Asia mostly have the family name first. But Osama still stands.
Osama and Mao, but yes it’s increasingly rare. I think we tend to associate historic people with their last names more than their first names.
I think you’ll like Ruby. It has mostly done away with braces and code blocks end with end
, e.g.
def create
unless admin redirect_to new_session_path and return
@product = Product.new product_params
if @product.save
flash[:success] = "New product has been created!"
redirect_to edit_product_path(@product) and return
else
flash[:error] = "Something went wrong!
render :new
end
end
This is working code that I simplified a bit from an old project of mine.
I didn’t find any posts that meet the criteria.
It could be OC or not. Who knows really.
Beep Boop, I’m not a bot.
Code should always by itself document the “how” of the code, otherwise the code most likely isn’t good enough. Something the code can never do is explain the “why” of the code, something that a lot of programmers skip. If you ever find yourself explaining the “how” in the comments, maybe run through the code once more and see if something can be simplified or variables can get more descriptive names.
For me, that’s what was originally meant with self-documenting code. A shame lazy programmers hijacked the term in order to avoid writing any documentation.
What’s the difference?
Cause none of my choices of ISP supports it…
they tell you they want someone with 5 years Java experience.
Or 6 years of experience with that framework that’s 3 years old which is par for the course for dating apps; unrealistic standards.
Obligatory fuck DST
You can get a small high-frequency whistle you can attach on the front of the car that should scare them away. It is outside audible range and supposedly has lowered the amount of incidents from a test phase our local elder care conducted when they placed them on all their cars.
There’s also a Ship of Theseus thing going on here since your cells are constantly being replaced by new cells. At what point do you stop being you and are simply the train of thought that carried over from your old cells?
Put down the bong while I’m in the shower? How preposterous!
The Earth’s gravity well extends far beyond the atmosphere. The moon is for example is well inside the gravity well and even the hill sphere meaning Earth’s gravity is the dominant gravity force on the moon.
Hey, no need for shower shaming. As long as it doesn’t hurt anyone they’re within their rights to do as they please in the shower.
I don’t know about you but my phone is waterproof for this exact reason.
/ Guitar Solo