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.
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top