Better HN
topnewbestaskshowjobs
Log inSign up

bollix

14 karma · joined Nov 6, 2014 (12y ago) · 12 submissions

Submissions

comment 11y ago · link · parent

Probably the second one, but they all look basically the same to me. Perhaps programmers should get better at reading code.

The last one is least readable IMHO. It's like a regexp. It's the most ambiguous and has the most potential for errors also.

It's hard to typo "function" and have a program still compile/run. It's a lot easier to typo "fn" and still have the program compile/run. Smaller tokens mean more potential errors.

comment 11y ago · link · parent

assembly -> binary is an encoding not a syntax.

That's like asking an author if he writes using the alphabet or ascii.

Programming language debates are like asking Charles Dickens why he wrote in English rather than Russian. Would his books have been any different in Russian? No - it's irrelevant.

comment 11y ago · link · parent

Renaming 'function' to 'fn'?

So much of this is down to fashion. Are programmers really bound by their typing speed? No.

The only real thing that matters with a language is "can I run this on hardware X", and "How fast does it run / how much memory". Syntax is utterly irrelevant (Unless you're into fashion).

Lisp is just basic with a different syntax...

comment 12y ago · link · parent

There doesn't seem to be as much desire to get profitable any more. Why bother with that when you can just get acquihired by bigco.

comment 12y ago · link · parent

That's true, and I'd forgotten the point about salmonella.

I'm sure a lot of it does have to do with conditions though. If you have to wash the eggs anyway, you can keep them in factory conditions, and wash off all the shit. If you're not allowed to wash the eggs, then you tend to be a bit more careful, and keep them in better conditions.

comment 12y ago · link · parent

See also:

  UK: It's illegal to sell washed eggs

  US: It's illegal to sell unwashed Eggs
Spoiler: In the UK, we keep eggs outside the fridge, and with the natural protection on the eggs (Removed when washed), they tend to keep for weeks. In the US, they tend to keep eggs in the fridge. Also a lot to do with how the chickens are kept. If you're not allowed to wash eggs (UK), it's more likely the chickens will be kept in sanitary, good conditions.

OTOH, It's cheaper for the producer to keep chickens in worse conditions, wash the eggs removing the protection and make consumers keep eggs in the fridge!

comment 12y ago · link · parent

You seem under the delusion that investment / acquisition etc happen based on merit.

More often than not, it's just about who knows who, back room dealings and favours.

comment 12y ago · link · parent

I don't know why you're being downvoted. It's true. If you want community, don't live in a city. Live in a small town or village where everyone knows everyone else.

comment 12y ago · link · parent

I lived in London for a year. It was the most lonely isolated place I've lived. Also it's not really part of the UK anymore. It's a "world" city - which makes the feeling of loneliness even worse.

comment 12y ago · link · parent

Yeah agreed. Once a new fashion comes out, people feel the need to rewrite everything in that language/framework etc.

Imagine how much more productive we could be if we stopped reimplementing the wheel every time a new fashion comes around...

comment 12y ago · link · parent

hardly anything on the internet is "new". We're all just rehashing things that existed on the net in the 90s, doing them slightly better.