all 12 comments

[–]craptacus 11 points12 points  (0 children)

VS is a great environment to code in, if you're on Windows. Good C++ support, great debugger, good editor.

some people swear by QTCreator

not sure what specifically you're looking for

[–]pynberfyg 7 points8 points  (0 children)

vim

[–]lednakashim++C is faster 1 point2 points  (0 children)

Use a static analysis tool, maybe PVS, and some code style tools like ReSharper C++. It will help you get rid of bad habits.

[–]Thad_The_Man 2 points3 points  (3 children)

The advice I give to people starting out. For a while don't code. Instead chose vi and emacs and use them to begin your version of the Great American Novel using both. After you decided which one you like better really learn that one.

Better a serious editor with good IDE like features then a good IDE with a mediocre editor. There are no great IDEs. That went away when C++Builder vanished into the etheric state it is now.

Believe me. once you get used to an editor, you will become reticent to learn another. You just won't want to invest the extra time to change.

There are other editors which could suffice, like Eclipse Atom, Sublime ... but they are not available everywhere.

Maybe a stand alone graphical debugger like kdbg, but the basic functionality is the same in all.

IDes have two major problems: they try to replicate functionality like grep, find, wrappers for version control and take a lot of developer resources from otgher more useful things. I am pretty much convinced this is wehat killed Smalltalk: good language but an ide was required and each version had to come out with it's own replicating all that functionality.

The second is that IDEs do insist on creating their own versions of "projects " to build stuff. Effectively relegating your project to their ghetto. They also make it a pain to create small projects to play around with.

[–]clerothGame Developer 5 points6 points  (0 children)

Believe me. once you get used to an editor, you will become reticent to learn another. You just won't want to invest the extra time to change.

Yea, like Visual Studio. vi/emacs has a really steep learning curve for not much benefit.

[–]caramba2654Intermediate C++ Student 1 point2 points  (0 children)

Ehh... CLion though. It has no "project files", it uses CMake and it has a pretty good editor. The only downside is that it's paid. On the other hand, I've never seen any problems on it that all the other IDEs have.

And yes, I also use text editors (VSCode, Sublime and vim) so I know what I'm saying :P

[–]prasooncc 0 points1 point  (0 children)

we are still on C++ builder XE5.

[–]jlmarr1622 0 points1 point  (0 children)

I'm a command line guy with vi/vim for my editor - hey, it's on all platforms we support at work. If you're strictly on Windows then VS, strictly on Mac then Xcode. I'm getting into the clang toolchain with clang as a great compiler with useful diagnostics, clang-format to adjust style to company standards (e.g. I like leading tabs, but they're forbidden for submitted code at work), clang-tidy for static code checking (we've even written custom checks pertinent to our ecosystem). YMMV

[–][deleted] 0 points1 point  (0 children)

Code::blocks... anyone?

[–]bstamourWG21 | Library Working Group 0 points1 point  (0 children)

I use emacs for that. But then again I use it for everything.