I do a lot of coding in VB/VBA and derived languages currently, but my first language was Pascal, and most of my training was in C. Consequently, when I write pseudocode, I often combine elements of these languages.
I hate the way VB uses = for both comparison and assignment. C is slightly better by using = for assignment and == for comparison, but this is less than intuitive. I prefer Pascals solution of using = for comparison and := for assignment.
I personally prefer using
a++
instead of
a = a + 1 or a := a + 1
It gets to the point without wasting my time.
I also prefer the style of using {/} for begin and end (just a personal preference), and I like viewing everything as functions (even if they return a void). However, VB code tends to be easier to read and follow. Also, string handling is much easier in VB.
C has some nice features such as being able to use a variable as different data types (character once, then integer later) without running a conversion function. However, this opens up the possibility of undetected errors. Similarly, you can write VB code without explicitly defining your variables. This can be useful, but because I make frequent typos, it can also open up the possibility of undetected errors.
I think I generally prefer C, but each language has its own strong and weak points.
As an interesting (to me) side note, in the above discussion about the comparison of For loops, I realized that in the past 5 or so (at least) applications I have written, I have not used a single For loop. I use While loops instead. In my first programming class, we were discussing For, While, and Repeat/Until (Do/Until) loops, and on a quiz, the teacher asked which type of loop was the most versatile. In the discussion following, he showed us how the While loop can be used to do the same function as either of the other loops easily. Over the years, I guess my brain has adjusted and I almost exclusively use While loops.