is 4gb enough in 2014? I have te possibility to get a 13'' 2013 MBA with i5 and 4gb of Ram for 200$ less than the habitual sell price.

The only problem is I can't have more ram, it's 4gb or nothing. My question is : will it be enough ? I will use this mba for web-browsing, movie watching and a litte bit of dev (node.js, and perhaps some script language like ruby), i'll PERHAPS use it for xCode from time to time, but it's not sure, I have an iMac at home for this.

So, is it a good idea to take this macbook, or should I pay 300$ more to have 8gb of ram ? 

Thank you for your help !
For what ever it is wort, here are my personal experience.

I have a mid 2012 MBA with 4 Gig RAM and 256 Gig SSD.

It has a Mavericks OS 10.9.2, MS Office 2011, 3 Browsers ect..(browser could eat up to 700 meg of RAM)

I have 110 Gig of videos and pictures.

I am a "normal" (no offense) user thus no serious programing or heavy duty video or photos rendering. (those are the CPU and RAM killers)

So far having multiple apps open,  I have not noticed a slow down in performances.

The Activity Monitor on mavericks has a great feature called memory load, and I always stay in the green range.

I would say having more is not a must have but nice to have (so a question of Budget)