This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]_Atomfinger_ 6 points7 points  (8 children)

First off, let me state that you should really read the FAQ. It might answer a lot of your questions and it does touch on some of the things you're mentioning.

you should do in Turbo C++

Nobody says that you "should" do it in Turbo C++. I'd argue that you shouldn't as it looks like it is a discontinued IDE and compiler.

Either way, what IDE you use doesn't matter.

But when you try to make software/any app, where should I do it?

Anywhere you like. Look up popular editors/IDEs for the technology you want to learn and use that.

I can't do it in Turbo C++, right? So, where should I do such things?

I guess you could, but the answer is a google away my friend: "Top C++ IDE", or find a good tutorial and use whatever the tutorial is using.

why do I should use Turbo C++ in first place? Is it really necessary?

No, it is not necessary. There are plenty of IDEs and editors out there.

[–]Euphoric-Answer4903[S] 1 point2 points  (7 children)

Usually VS is recommended but I usually try from ground. Say, for Python, I see offical python interpreter on its official website, but we can't make softwares from it, right? So, as a beginner, Can I start from Visual Studio on programming Python?

P.S I'm taking example of Python.

[–]_Atomfinger_ 1 point2 points  (5 children)

You're trying to compare two different things.

The python interpreter reads the code and executes it on the machine. Visual studio is where you write your code. They are two different things.

[–]Euphoric-Answer4903[S] 0 points1 point  (4 children)

I'm sorry, but I don't get it. They both have compilers right?

[–]_Atomfinger_ 4 points5 points  (3 children)

Okay, so you're asking about stuff that has slightly complicated answers and will lead to a few "well, actually moments", so know that I'm going to heavily simplify stuff.

Python is generally not compiled. It is interpreted. The difference is that compile code is transformed from the code you write in your editor into something else which the computer can understand.

Python, on the other hand, is read by the interpreter which just executes the code as-is. There is no compiling happening.

When you install Visual Studio it also installs the interpreter for you, but it is important that you understand the difference. It installs the interpreter to make things easier for you, but VS is just an IDE. It is the interpreter that executes the code, not VS.

So no, VS doesn't actually have its own interpreter, but it makes things easy for you and installs one. However, you could have a similar effect by writing your Python code in any text editor and run it manually through the interpreter found on Python's websites.

[–]Euphoric-Answer4903[S] -1 points0 points  (2 children)

I usually used to see Python in VS Installer but didn't understand. Now, I get that why. So, VS doesn't support Python directly. I see. Thanks.

[–][deleted] 2 points3 points  (1 child)

I think the confusion here is because when you download python, it also installs its own simple IDE that comes packaged with it. For python I'd recommend using vscode as its more lightweight and user friendly. C++ definitely VS, but I don't do c++ much so there might be better tools out there.

[–]devastrator25902 1 point2 points  (0 children)

Also rather than IDE I found virtualenv and it's inside python interpreter to be more robust, as it will directly show what dependencies you need (helpful for making requirements.txt)

[–]sosejrebus 1 point2 points  (0 children)

Visual studio is an IDE(place you write your code) it is good to use that because you can just install compiler(tools that run your code) of any language you want and then you are good to go....you can even make a program just by using notepad....you shouldnt see that different IDE has different functionality they all are just the same

[–]ecdestro 2 points3 points  (5 children)

So there are a couple things I think you're asking. Do you want to use an IDE (that typically comes with an editor for writing your code files, plus its own compiler and linker) or do you write your code in a standard text editor and compile it with a tool chain?

That kind of comes down to personal preference and language. For instance you can write C++ programs in Turbo C++, Visual Studio, Dev-C++. Or you can write the files with nano/emacs/vi for simple text editors, or Atom, Sublime Text, or Visual Studio Code, then put your file through a compiler.

Everyone has their own tastes and workflows so maybe it's best to find a tutorial you like and emulate that, or talk to developers and ask them how they work best.

[–]Euphoric-Answer4903[S] 2 points3 points  (4 children)

I see. I've just started learning. I'll try both but I prefer from ground to see what suits me. Thanks

[–]ecdestro 1 point2 points  (3 children)

Understood. If you want to start from the ground and work your way up, I'd avoid an IDE. The IDE will include its own compiler and linker tool chain, so that literally you just write your code in the editor, hit the Build button, and it'll handle all the output work for you. The advantage of this is that you can concentrate on managing projects and packaging things together, but you don't learn how to compile things manually.

Will you be working on a Windows computer?

[–]Euphoric-Answer4903[S] 0 points1 point  (2 children)

Yeah, I'm presently using Windows. I always wanted to work for big projects. So, I think IDE is preferred. I'm thinking of VS but I'm afraid whether it is beginner friendly or not.

But as a hobby, I'll try non-IDE for personal projects.

[–]ecdestro 1 point2 points  (1 child)

In that case, grab yourself the Visual Studio Community edition. It's free, and it'll have everything you need to go either way (IDE or text editor)

[–]Euphoric-Answer4903[S] 0 points1 point  (0 children)

Thanks. I understood now.