Better when you can't use a PC though.In theory, this is doable, but do you really want to write C code using a touchscreen?
You're also better off cross-compiling 3DS software on a PC, anyway. Compiles faster and doesn't have the resource constraints.