What's the difference -- if there's any -- between using 'of a/an' and 'a/an' (examples given below)? Are the following passages grammatically correct, and if so, is it merely a matter of taste which one to use when writing?
1) This is too difficult of a task.
2) This is too difficult a task.