Only thing missing is a review from Techmoan
Only thing missing is a review from Techmoan
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.
In Denmark if you are charged with hazardous driving the police can confiscate your car. A Norwegian who had bought a Lamborghini in Germany took the trip through Denmark back home and hit 228 km/t km/h. He lost the car and will never get it back.
Source (in Danish): https://nyheder.tv2.dk/samfund/2023-12-25-nordmand-fik-beslaglagt-sin-nye-lamborghini-efter-vanvidskoersel-men-naegter-at-acceptere-dommen
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?
The green cross is the universal symbol for pharmacies in Southern Europe. Admittedly I haven’t checked if any of them do have cannabis, but I’d recommend not asking pharmacists whether they got it. As others mentioned, the red cross wouldn’t be used as that would be a Geneva conventions violation.
Cult problems require cult solutions
Cause none of my choices of ISP supports it…
Jesus, we’ve had horrible heat waves of 28°C… Where do you live, near equator?
The moon wobbles slightly so over time you’ll see the “edges” change as the moon wobbles back and forth while still being relatively one-sided. If you’d be persuaded by looking out from a beach you’ll probably also take the above as evidence that the moon is round.
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.
I think you’re conflating pure socialism with capitalism mixed with social support systems.
Obligatory fuck DST
Computer phone. I mean, it is a combination of a computer and a mobile phone so why not?
There might be some form of survivorship bias in there. We aren’t documenting the instances we aren’t discovering.