Should I Get an Arduino or a Raspberry Pi?
opensource.com
opensource.com
In my opinion the Arduino is a bit more mature overall and has better tutorials for beginners starting out in electronics. You can also use it with Windows or OSX if Linux isn't your thing. Even if your long term goal is to do electronics on the Raspberry Pi, I'd recommend getting an Arduino to learn on because it is simpler and doesn't require Linux knowledge.
PI2 is a full environment and wee little quad-core + GPU power house and not too bad for programming especially with wiringPI, but Arduino is simpler and much more practical to learn stuff on. You can get kids in primary school doing Arduino which is not really going to happen easily with PI.
Both are pretty cheap, but Arduino is cheaper.