News for hackers. Stuff that matters.
Re:Some Functional Programmers Are Arrogant by tsmarsh on Wednesday July 08, 2015 @11:40AM (#9852283)
I'm a meat eater due to my biology more than anything else, I love the taste and I'm allergic to most fruits and vegetables (ORA).

Before the degree of my ORA was known, I did play at being vegetarian for 6 months for ecological, not moral reasons. I don't see a moral difference between eating a fruit and and an egg, or salmon and a herb, milk/blood and maple syrup. The arguments that fauna are somehow more alive than fauna has never felt very strong to me. We've all been evolving and finding our niche for about the same amount of time. We've all got our own versions of response to external stimuli. Its just much harder to empathize with an apple tree than a chicken, especially when it comes to the ultimate sacrifice.

However, the ecological arguments for vegetarianism around sustainability and CO2 emission seem sound for the standard american lifestyle.

Of course that starts to flip if you hunt (I don't). Large scale agriculture does more damage to the environment than culling native mega fauna, which is arguably beneficial. It flips again, if you have your own garden, supplemented by local, organic specialists. And then you reach a much better level of reuse/yield if you can feed scraps to chickens and pigs and fertilize your ground with blood and bone meal. (it always makes me laugh when vegans think their organic vegetables are 'cruelty free').

So, no. I don't think the implications of saying you are vegetarian are immediately obvious. The more I research it, the healthier and more sustainable a diet of mostly fruit and vegetables supplemented by the meat of a couple of pigs, 6 or so chickens and the occasional hunt seems to be. But if you genuinely believe that fauna are some how better than flora I guess that simplifies the equation and somewhere down that path you get labelled a zealot.

I suspect the same is true with programming. What you want is a system of mostly functional business logic that is supplemented with objects when it makes sense (modeling the state of an electrical circuit?!?), and the odd 'declarative hunting trip' when you need to cull the date from the database :)

It is possible exist on just objects, or just functions but variety is the spice of life and the sum is often greater than the whole.

Re:Some Functional Programmers Are Arrogant by amalag on Thursday July 16, 2015 @01:25PM (#9898554)
> The arguments that fauna are somehow more alive than fauna has never felt very strong to me.

Do you enjoy talking your fern out for a walk and the companionship you feel with it?

Re:Some Functional Programmers Are Arrogant by tsmarsh on Thursday July 16, 2015 @04:24PM (#9899683)
I enjoy sharing the atmosphere and sunlight with a fern. I'm not sure that companionship, even among dogs could be considered anything other than anthropomorphism. I definitely find that I have more in common with the fauna than the flora, I don't think this makes either of them any less alive, or tasty.
Re:Some Functional Programmers Are Arrogant by dragonwriter on Thursday July 16, 2015 @01:38PM (#9898647)
> The arguments that fauna are somehow more alive than fauna has never felt very strong to me.

The latter instance of "fauna" ought to be "flora", I suspect.

Re:Some Functional Programmers Are Arrogant by dllthomas on Friday July 17, 2015 @01:06AM (#9901341)
Or else the arguments are exceptionally weak.
Re:Some Functional Programmers Are Arrogant by sshine on Wednesday July 08, 2015 @01:00PM (#9853007)
You want the state of an electric circuit modelled using linear type systems.

This sort of does away with problems of mutability, since you can change things, but only exactly once (which is what you intend for e.g. current).

Re:Some Functional Programmers Are Arrogant by tsmarsh on Wednesday July 08, 2015 @01:23PM (#9853201)
I was clutching at straws, I'm an functional programmer myself and I vaguely remembered something in SICP that used objects to solve circuit problems. I'm sure objects good for something... right?