At the moment I use the setup in figure A, but I was wondering if the setup in figure B suffices. My train of thought: a gate doesn't draw any current, right? So no delimiting resistor is necessary. And since the Arduino already pulls down the gate nicely to ground, I don't need the pulldown resistor as well. Is this correct ?
A gate is effectively a capacitor. When you transition from LOW to HIGH, current will flow into that capacitor to charge it up. That is called the "inrush" current.
Similarly, when you transition from HIGH to LOW the current will flow out of the capacitor into the pin you are driving it with.
You need to limit the flow of that current during the inrush / outrush times of the capacitor charge/discharge to a level that is safe for the pin to source / sink.
100? is a good value, as it limits the current enough, and doesn't slow down the charge / discharge of the gate enough to really worry about.
Pulldown is good, yes, as it stops the gate floating when the Arduino's IO pin is set to input (which it defaults to at power up), or is disconnected / powered off in any way.
CaptainJack:
Never knew the input functions as a capacitor, thank you for the explanation, I'll change to 150 Ohms.
Its not exactly like a capacitor - the charge is partly capacitive, and partly used to balance the
channel region forming between source and drain. Higher drain currents require larger amounts
of charge on the gate. In fact the gate voltage has a plateau as the drain current increases
during the turn-on process - charge is needed to enlarge the active channel.
For fast switching of large currents a MOSFET driver chip is usually used and these provide between
100mA and several amps depending on the size of device you intend to drive!