HNHacker News
TopNewBestAskShowJobs

MerreM

17 karma · joined August 20, 2012

submissionscomments
MerreM··on UK Prime Minister Theresa May announces intention to hold general election
Haven't seen a party opposed to austerity in a long, long time.

I'll probably be voting short term "stop this madness"

MerreM··on TOX – A New Kind of Instant Messaging
Looks like no, there's uTox and Toxic - can't get Toxic to run.... so maybe?
MerreM··on Why People Should Learn Python
I believe it's part of the language design, a phrase you'll find quite a lot in Python language discussions, especially is more esoteric features is; "We're all consenting adults".

There are certain areas of the language which may not behave exactly the way you'd be expecting, if you're new to it.

These usually have an unusual syntax, which will cause you to find out more.

They're basically the mini-roundabouts of python.

https://en.wikipedia.org/wiki/Roundabout#Mini-roundabouts

If you know what you're doing you cruise straight over, but if for any reason you're unsure, you're forced to find out more before continuing.

It's not designed to stop you, because "We're all consenting adults", but that doesn't mean it's going to encourage you to do something that might be harmful.

MerreM··on The Pirate Bay Reveals New “Climate Saving” Design
At a guess... I'd check the date.
MerreM··on I've never seen a language's style guide recommend avoiding comments before
I was always told that if someone couldn't tell what your code was doing by glancing at it, you'd done it wrong and should re-write it.

I know that's absurd in practice, we don't always have the time but I've always used comments as a last resort.

If I need to comment code to make it understandable at a glance, so be it but I'd rather avoid them all together and rewrite until it's clear enough without them.

MerreM··on Gift for a 10 year old
Mindstorms! http://en.wikipedia.org/wiki/Lego_Mindstorms
MerreM··on [dead]
Bad link buddy.
MerreM··on What coding mnemonics do you use?
Imagine the arrows are crocodiles. They always try and eat more.

1 < 2

4 > 1

If they're eating less, they're not happy crocodiles.