How much it useful to learn two compiler?

  • Thread starter Thread starter samieee
  • Start date Start date
  • Tags Tags
    Compiler
AI Thread Summary
Learning to work with both Turbo C and Visual C can provide significant benefits for C programming students. Utilizing two compilers allows for flexibility in choosing the best tool for specific tasks and helps avoid dependency on compiler-specific features, fostering skills necessary for writing portable code. However, concerns arise regarding Turbo C's relevance, as it is considered outdated and may lead to the adoption of bad programming habits or an incomplete understanding of modern C++. The evolution of C++ over the years highlights the importance of staying updated with current standards, as older compilers may not reflect contemporary practices.
samieee
Messages
67
Reaction score
0
hello

As I am doing c programming course in this semester, our course instructor told today that we will use turbo C in theory class and visual c in lab to compile our written programmes.Now the question that arose in my mind, is it useful to learn to work with two compilers?In which way can I be benefited from learning two compilers?
 
Technology news on Phys.org
If you have two tools you know how to use, then you can use the one better for any particular job. :wink:

Also, it will help you avoid falling into the trap of relying on compiler-specific features, and then being totally lost if you ever have to write something portable, or if you're stuck using a different compiler.



That said, isn't Turbo C rather antiquated? I'd be afraid you'd be learning bad habits or even an incorrect version of the language -- especially if you were writing C++. Modern C++ is practically an entire different language than it was 20 years ago.
 
Turbo C++? Blast from the past, that is for sure. Though I just threw out my copies of old compilers this year. ( my wife finally put her foot down ). I had 3 versions of Borland compilers, 5 Versions of Microsoft, including QuickC. The 2 versions of Zortech C++ I kept.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top