Best programming notepad?

Deleted member 373057

Well-Known Member
OP
Member
Joined
Oct 5, 2015
Messages
462
Trophies
0
XP
561
Country
Canada
Hey. I'm learning C and have some JS experience and was wondering what the best program to code in was. So far, I've been using CodeBlocks for C and Sublime Text 2 for JS. I'm liking Sublime's design a lot better than CodeBlocks, but I can't seem to compile C in it. So my question is: are there any better IDE's (in your opinion) that would work well with either web development or C/C++.

Thanks!

P.S Sorry if this is in the wrong section
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,350
Trophies
3
XP
27,317
Country
United Kingdom
For the record there is often considered to be large difference between an IDE and a programming notepad, the ease of being able to compile being a key aspect. As far as programming setups then https://notepad-plus-plus.org/ is my go to thing for when I am setting up a machine and need something or I am a client's place and need something I can work with for a few hours. It is windows only but the core functionality of it made it Linux in http://www.geany.org/ .

For C family specifically then Microsoft's visual studio is good stuff. https://www.visualstudio.com/ It will try to tie you to MS stuff and some of the legacy stuff gets hard to do (they basically ended inline assembly a while back, https://msdn.microsoft.com/en-us/library/26td21ds.aspx being what they "replaced" it with but at the same time if you are doing inline assembly you have probably gone wrong somewhere) but the paid version is good* and I am hearing good things about the free version these days as well.

*naturally you will find many a VS ruined my life horror story, you will find more for GCC.

I don't do enough web dev, much less javascript *spits*, from the ground up to warrant a full debugging setup, to that end I usually go with http://getfirebug.com/ and whatever editor gives me basic syntax highlighting for php or whatever I am using.
 

spoonm

Can count to 3.
Member
Joined
May 20, 2015
Messages
192
Trophies
0
Website
spoonm.org
XP
299
Country
Brazil
I use vim as my main text editor on both Windows and Linux at the moment. Sublime Text is available for both platforms, and I think it is nice, but not as practical as vim once you're familiar with commands and keybinds.

Because of Sublime Text's complex configuration files(I can't be arsed to change a bunch of colors to achieve my almost 3-colors-only scheme), I spent a lot of time using Notepad2 on Windows. There are a few mods for it out there that add some more features to it, but I don't remember using many of them.

As @FAST6191 stated, IDE's are not text editors, and I honestly would not recommend you learn how to program while using one unless you've already made your choice about which IDE you're going to use for production. Compilers, IDEs and text editors are separate things, though IDEs combine the other two with other things. They're used to make your life easier by letting you look up classes when dealing with OOP, etc. etc. If you really need an IDE to program, I would say you're not doing a good job organizing your source code. Now that's a different matter. Regardless, I recommend a text editor + compiler on the side setup.

If you're on Linux, use either GCC or Clang. On Windows, you can use GCC through MinGW or cygwin(though the only time I tried it, gcc would create binaries for use with cygwin/Linux). Learn the basics of compiling with GCC/Clang on the command line and you're set. From there you can learn how to use build tools like GNU/make to make compiling even easier.

Note that IDEs come bundled with a standalone compiler(Dev-Cpp lets you choose between Borland's C[I think] and GCC, Code::Blocks uses GCC, Visual Studio uses Microsoft's C/C++ compiler, etc.), most of the time, so in the end there's little advantage to using one for a simple language like C.

tl;dr IDEs suck, use Notepad2/[g]Vim/Notepad++/Sublime Text and compile with Clang/GCC
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm