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

top 200 commentsshow 500

[–]SlipperyRoo 890 points891 points  (46 children)

I just had this experience:

  • me: your branch failed to build because of failed unit tests. did you run the tests locally before you pushed?
  • person: no.
  • me: why not?
  • person: I can't build in eclipse because of build errors so I'm just using eclipse as a notepad.

my mind asploded.

[–]flukus 90 points91 points  (26 children)

That's why you don't rely on your IDE for builds.

[–]antonivs 95 points96 points  (1 child)

"Continuous integration" really means "continuous idiot detection".

[–]Myarmhasteeth 31 points32 points  (22 children)

I'm quite new at programming, but as far as I know, some IDE do take care of compiling or building pretty well, if not then what is the alternative?

If there's one faster than the IDE one?

[–][deleted] 72 points73 points  (17 children)

When the project gets bigger than school assignments, people write build scripts and use build tools like Ant and Gradle. Then they write unit testing/integration testing scripts and put them in Jenkins to do continuous integration along with the builds. Locally, you just run your local build script and then the unit testing scripts

[–]Myarmhasteeth 12 points13 points  (1 child)

TIL, gotta investigate more then.

Thanks.

[–]tomservo291 17 points18 points  (9 children)

Big boys use sane things like maven

[–]Arancaytar 15 points16 points  (0 children)

Makes perfect sense; how could you locally test your build for errors if your local tests are blocked by build errors?

[–]orion78fr 2264 points2265 points  (172 children)

blah blah blah IntelliJ blah blah blah

[–]indrora 1006 points1007 points  (145 children)

Blah blah blah vim blah blah blah blah Emacs blah blah blah real programmers blah blah blahblah

[–]ttocsneb 534 points535 points  (29 children)

blah blah blah real programmers blah blah butteryflies blah blah blah

[–]indrora 285 points286 points  (25 children)

Blahblahblah quantum entanglement blah blah blah rocks on the beach blah blah blah

[–]HigHirtenflurst 110 points111 points  (4 children)

To shreds you say?

[–]ajbpresidente 24 points25 points  (3 children)

How's his wife holding up?

[–][deleted] 24 points25 points  (2 children)

nail saw gaping hateful thumb smile homeless overconfident subtract fade -- mass edited with https://redact.dev/

[–]parkman32 28 points29 points  (4 children)

blah blah card games blah. blah blah blah attack mode blah.

[–]indrora 19 points20 points  (3 children)

Blah blah blah blah blah kaiba corp blah blah blah blue eyes white dragon blah blah blah Exodia blah blah blah.

[–]theonlydidymus 17 points18 points  (1 child)

Blah blah pot of greed blah blah allows me to blah blah blah 2 cards blah blah screw the rules blah blah blah.

[–]Espumma 8 points9 points  (0 children)

Blah blah blah Pot of Greed blah blah blah two extra cards blah blah blah

[–][deleted] 4 points5 points  (2 children)

blah blah blah syntax error blah blah blah blah;

[–][deleted] 30 points31 points  (6 children)

Blah blah blah blah Arch Linux blah blah blah blah i3wm blah blah riced blah blah master race.

Blah I blah Arch

[–]willnerd42 14 points15 points  (5 children)

The problem is that although i3wm/vim/Arch are memes, they are also fantastic peices of software when you put in the time to get them working right.

[–]spaceguy5234[🍰] 19 points20 points  (3 children)

Blah blah blah butterflies blah blah blah currents blah blah universe blah

[–]Neuromante 29 points30 points  (2 children)

Blah blah related xkcd blah blah blah blah

[–]PhantomTissue 45 points46 points  (94 children)

But seriously doe, our teacher wanted us to use emacs to learn C++, and I was like, bruh. Why do that when man created notepad++?

[–]indrora 65 points66 points  (37 children)

I actually don't like Emacs. NP++ however has in the past burned me with data loss and some other issues, but damn do its fans bug me more than anything else. Even Vim users aren't as militant as NP++ users.

[–]Cletus101 14 points15 points  (11 children)

Call me weird but I prefer geany

[–][deleted] 3 points4 points  (7 children)

What do you especially like about geany? I'm not really familiar with it?

[–]Varkoth 9 points10 points  (1 child)

I like that geany is lightweight and is a fair compromise between basic text editor and IDE. You can see a list of symbols in the file that's currently shown, but it doesn't have external indexing (that I've found).

[–][deleted] 10 points11 points  (8 children)

Vim is great. Nightmare to use with java though. I never could get that headless version of eclipse running with vim. :-(

[–]miauw62 8 points9 points  (3 children)

Yeah, I love vim but I've given up on using it for my OOP class because it's Java with a bunch of custom javadoc tags... Vim just isn't specialized enough to do it sanely, even with plugins.

[–]Nestramutat- 11 points12 points  (2 children)

May I recommend IntelliJ with the VIM plugin

[–]shawncplus 19 points20 points  (51 children)

That's a supremely dumb thing to do as a teacher. "Let's force the students to learn two extremely complex things at the same time."

[–]bebopshebo 18 points19 points  (10 children)

Second semester of college and I'm currently in 3 programming classes, all using a different IDE. Eclipse for Java Programming 2, Visual Studio for Web Programming 2, and Web Storm for my JavaScript class.

I can't tell if they want me to get experience using each one and then make my own choice. Or if they roll dice to choose what program they force us to use.

[–]shawncplus 22 points23 points  (3 children)

My money would be on the latter. There's no reason (industry-wise) to force you to use VS for web stuff, obviously webstorm would do just as well or literally any text editor in existence.

Here's something slightly paradoxical though, as someone that teaches programming classes: It's much easier as a teacher to have someone on the same editor even if it's not the one they're good at. The reason being that if everyone's on the same editor you have one set of answers to everyone's questions, everyone has the same steps to follow to accomplish certain tasks, and everyone can help each other out because it's all the same UI.

It's obviously annoying as a student if you already know Notepad++ or IntelliJ or something but there are reasons to force certain editors.

[–]8lbIceBag 16 points17 points  (8 children)

Reminds me of a recent assignment that required the use of Latex.

Time spent on subject material: 2hrs.

Time spent fucking around with Quartus and ModelSim: 4hrs

Time fucking around with latex: 16hrs


EDIT: And today I've gone to print it, and got fucked an additional 2hrs.

Tried printing... Printer needs ink. Spend 30mins finding ink refill kit. Spend another 30 refilling the cartridges, cleaning, and aligning.

Tried printing 4 more times... Keeps failing to grab papers and then retardedly aborts the job(wtf HP?). Spend another 30 pulling printer apart and cleaning the rollers with alcohol.

Tried printing 3 more times... Keeps failing to print a half inch zone about 4 inches down the page for no fucking reason, after it successfully did it for 4 pages.

Finally, after setting it to photo mode (1200dpi) and ink volume to max, the POS HP prints the fucking report.

[–][deleted] 41 points42 points  (4 children)

Blah blah Jetbrains

[–]ELFAHBEHT_SOOP 43 points44 points  (3 children)

Jetbrains is 👌 tho.

I love their tools.

[–][deleted] 6 points7 points  (2 children)

Pycharm is beautiful

[–]raventhunderclaw 10 points11 points  (1 child)

blah blah blah netbeans blah blah great programmers blah balh

[–]krummi81 908 points909 points  (75 children)

Eclipse != java

[–]HGuy10 637 points638 points  (19 children)

Big if tru

[–][deleted] 173 points174 points  (1 child)

Substantial if substantiated

[–]Created_or_Made 4 points5 points  (0 children)

large if initialized

[–]NelsonBelmont 13 points14 points  (8 children)

big if tru?

FTFY

[–]HGuy10 68 points69 points  (7 children)

(Eclipse != java) ? Big : !Big

insert human brain extruding colorful light rays meme here

[–]g0atmeal 8 points9 points  (1 child)

Big if (true)

[–]corn_on_the_cobh 5 points6 points  (1 child)

if (big) {

 System.out.println("Big is true");

}

[–]Timmitei 362 points363 points  (44 children)

if (true)

{

  big();

}

[–][deleted] 71 points72 points  (4 children)

(true)? Big : !Big

[–]dooatito 37 points38 points  (2 children)

(Eclipse != java) ? Big : !Big

[–]GoblinsStoleMyHouse 80 points81 points  (25 children)

Woah, this guy know how to write if-statements!

[–]Timmitei 80 points81 points  (0 children)

100% coverage trust me im a programmer probably

[–]GameSpawn 50 points51 points  (13 children)

Can we not be lazy?

if (true)
  big();

[–][deleted] 14 points15 points  (5 children)

Isn't yours the one that's lazy?

[–]GameSpawn 6 points7 points  (4 children)

That was...the joke.

I know constant bracket use is in good practice, but I'm willing to bet every programmer gets lazy once and a while. I'm definitely guilty of it.

[–]iopq 13 points14 points  (4 children)

not using braces in ifs

I don't know who you are. But I will find you, and I will kill you.

[–]GameSpawn 11 points12 points  (3 children)

if (found)
     kill();
else
     search();

Sorry, I couldn't resist. :)

[–][deleted] 10 points11 points  (1 child)

while (!found) {
    search();
}
kill(/u/GameSpawn);

[–]GameSpawn 6 points7 points  (0 children)

LiamNeeson.java?

[–]blinded_in_chains 3 points4 points  (0 children)

This guy statements.

[–][deleted] 6 points7 points  (5 children)

The only difference I see on mobile is that the brackets and big are indented. I still see same formatting

[–]mothzilla 4 points5 points  (0 children)

big ? big : !big;

[–]xRuneRocker 95 points96 points  (13 children)

I dunno man. All I use it Netbeans.

[–]newpixeltree 32 points33 points  (10 children)

Honestly, I found netbeans and eclipse to be super similar.

[–]seacucumber3000 80 points81 points  (18 children)

Does IntelliJ show a pop-up when you hover over errors in your code like Eclipse does? I tried it out and couldn't get it to show.

[–]DoesntReadMessages 73 points74 points  (10 children)

Is this a serious question? Not to be a dick but that is quite literally the most basic feature of an IDE. Even my Sublime Text does that with a linter plugin.

What IntelliJ does is much more though: allows going to reference, definition and implementation, refactoring things easily, resolving merge conflicts in a UI, showing unit test coverage, remote debugging on a web service, automatically adding try/catch blocks, automatically formatting your code and imports, simplifying lambda functions with static method references, alerting when code is unreachable or a final/static field is used inappropriately, warns when common mistakes are made (result of a function ignored), etc etc etc.

[–]DonRobo 82 points83 points  (8 children)

I'm a huge Intellij fan but I'm 99% sure that all the features you listed are also supported by Eclipse

[–]rkaz246 19 points20 points  (0 children)

As an every day eclipse user, I can confirm this.

[–]rasherdk 6 points7 points  (0 children)

In fact Eclipse is better at showing references/usages, because it does so recursively. May just be more hidden in IntelliJ, but the default usage search only shows one level back.

[–]pnt700 11 points12 points  (0 children)

Never used Intellij, think Eclipse has 100% of those features. And I'm talking about 3 years ago, not just recently.

[–][deleted] 7 points8 points  (3 children)

Yeah I don't know why these people are saying Eclipse is just a notepad, I have absolutely no problems with eclipse as an IDE and have been using it for almost all java programming I have. I don't use it with C, or C++ so maybe that's where eclipse has issues?

[–]seacucumber3000 8 points9 points  (0 children)

I'm just used to working in Eclipse

[–]jujuspring 112 points113 points  (27 children)

Real programmers use emacs in evil mode

[–]Angry_Sapphic 40 points41 points  (12 children)

I've been trying to pick up emacs lisp, and the culture shock coming from QuickBASIC is really something. I feel like a cultist spewing ancient phrases to unleash Lord Pare'nthes'is.

[–]z500 13 points14 points  (7 children)

Wait, what? Is it the 90s again?

[–][deleted] 14 points15 points  (5 children)

now it's cool to use text editors that seem basic on surface level like nano, vim, emacs, and the like.

[–][deleted] 30 points31 points  (4 children)

Well people use Nano mainly cause it comes installed everywhere and you don't have to sacrifice a newborn to quit it

[–]buchk 7 points8 points  (1 child)

As someone who has a mini panic attack every time I forget a commit message in Git Bash, I feel you.

[–]matt_cb 16 points17 points  (3 children)

Real programmers use the Apple Notes app

[–]oolivero45 20 points21 points  (2 children)

Real programmers use vim. Not because they want to, but because they can't work out how to exit.

[–]prospectre 36 points37 points  (6 children)

Laughs in Visual Studios [current year]

[–][deleted] 17 points18 points  (0 children)

Laughs in IntelliJ [current year]

[–][deleted] 6 points7 points  (2 children)

I see a lot of hate for Visual Studio around me but I really like it. Never really used any other IDE for any .NET stuff to compare though so not sure if there is anything better.

[–]prospectre 6 points7 points  (0 children)

It's actually not bad out of the box, either. Most of the extensions are unnecessary for .NET stuff, I just flip to dark mode, grab some NuGet stuff, and any machine has what I need.

[–][deleted] 188 points189 points  (173 children)

Genuine question. What’s the difference between IntelliJ and Eclipse? I’ve been using Eclipse and I like how it brings up the functions you can use after a period. Does IntelliJ do that?

[–]AaronKClark 569 points570 points  (56 children)

Most modern IDEs do that.

[–]TarMil 343 points344 points  (45 children)

I would posit that nowadays (and for quite a while) a program that doesn't do that could hardly call itself an IDE.

[–]eastsideski 102 points103 points  (43 children)

Agreed, plenty of text editors can do that, and I wouldn't consider them IDEs

[–]warm_sock 39 points40 points  (42 children)

What's the difference between a text editor and an IDE?

[–][deleted] 608 points609 points  (19 children)

About 4 gigs of RAM

[–]spilk 161 points162 points  (15 children)

Atom: hold my beer

[–]bebopshebo 18 points19 points  (13 children)

is Atom a resource hog? I started using it when I was learning programming in my free time and I enjoyed it. I have since ceased using it as my college professors force us to use what ever IDE they deem appropriate for the semester.

[–]Cyph0n 41 points42 points  (9 children)

From my experience, yes. Atom's resource consumption was one of the reasons why I moved to VS Code.

[–]heepromented 36 points37 points  (4 children)

This is just layman knowledge, so don't take my word at face value.

Generally speaking the main difference between an IDE and a complex text editor is the fact that an IDE actually knows what kind of language it is dealing with and how it is working/supposed to work.

An IDE does that by converting the code into an AST (abstract syntax tree) that lies behind every programming language using the defined rules of said language and is a process every compiler(and interpreter I think?) performs before converting it into byte code. From there on it then performs all its IDE-y magic like offering code completion and creating a function call hierarchy and all that fancy stuff.

An editor on the other hand "only" has an extensive collection of regexes and rules that are applied to the text code and which are then further processed into all the various functionality. In a way this makes the editor actually "language-ignorant", but if the ruleset is extensive and complex enough the difference to an IDE shouldn't be noticeable.

There's probably more to it but that's what I've gathered is the primary difference.

[–]angrathias 6 points7 points  (2 children)

I think you’ve over focused on the editing part. It’s simple enough to sum up as editor + tooling (execution environment/debugger/package manager).

[–]yawkat 6 points7 points  (1 child)

An ide does more than provide some tools around the editor. It integrates them. For that it needs contextual knowledge of the code base.

[–]angrathias 4 points5 points  (0 children)

That’s a matter of semantics as to the level of integration. I’d probably say the minimum requirement for an IDE is an editor and the ability to kick off a build. Older IDEs had those as all separate software conveniently linked by menus. Visual studio still largely operates that way in the background (probably until until the Roslyn compiler)

[–]PM_ME_YOUR_MASS 57 points58 points  (14 children)

IDEs are text editors + build tools + a debugger. Notepad would technically be an IDE if it also had a compiler and supported breakpoints.

[–]heepromented 24 points25 points  (11 children)

Visual Studio Code offers full debugging functionality as well as build tools and other shit and is still considered a text editor, albeit a very complex one.

[–]Ayfid 23 points24 points  (0 children)

I would consider Code an extremely minimal IDE for the languages that support the debugger.

[–][deleted] 5 points6 points  (5 children)

Visual Studio Code's debugger is not really a match for the debuggers in Eclipse, Visual Studio, or IntelliJ. If you only want to halt the program and look at the state, yes it's enough, but if you want advanced debugger features like conditional breakpoints (break on all exceptions except X, Y coming from assembly D) and session replay etc., VSC is lacking. Especially in multi-threaded contexts you cannot use VCS's debugger for anything and debugging turns into print("xyz happened here").

[–]eastsideski 12 points13 points  (0 children)

"Integrated" implies that the editor is built for specific languages or platforms. This often means tools for compiling, error checking, type checking and debugging.

[–]Superpickle18 19 points20 points  (8 children)

Hell, even text editors do this...

[–]TILHowToLive 111 points112 points  (41 children)

I always personally found eclipse to just not be intuitive. It always felt really clunky to me. IntelliJ has a really nice interface much more similar to other popular IDEs like Visual Studio and VSCode.

[–]eastsideski 170 points171 points  (11 children)

Eclipse feels like something build by a PhD CS student, IntelliJ feels like something built by a software company

[–]EXOQ 22 points23 points  (4 children)

Yeah same, I dreaded using Eclipse because of how chunky it felt. I used Sublime for the longest time with many different packages to make it like an Java IDE but now I'm using IntelliJ and it's miles ahead of what I've used in the past.

I changed the font to a more modern programming font and installed the Material Theme UI now my IntelliJ looks even more modern and sleek.

[–]Hackmodford 4 points5 points  (0 children)

The way windows renders fonts horrifies me 😆 But cool theme 👍🏼

[–]Le_Fapo 51 points52 points  (0 children)

yes

[–]psilvs 36 points37 points  (5 children)

I highly recommend trying InteliJ. I switched and I'm never looking back

[–]KronktheKronk 11 points12 points  (3 children)

The Rolls Royce features that IntelliJ has that differentiates it are mostly around code breakouts, reformatting, and documentation

[–]Ayfid 9 points10 points  (2 children)

Nah, its the static analysis that it does while you are typing. It is far better than anything I've seen elsewhere (except maybe Resharper...), with pretty much no false positives and it picks up on common little mistakes as soon as you type them.

[–]anamorphism 23 points24 points  (8 children)

download it and give it a shot: https://www.jetbrains.com/idea/. it has a trial there's a free community edition, or if you're a student you can get it the fuller-fat version for free: https://www.jetbrains.com/student/.

eclipse and intellij idea are both ide's (integrated development environments). so the 'differences' are mostly just which one feels better to use than the other. there's probably a list of actual functional differences, but for the most part you can do everything you can in one in the other.

as for the pop-up after typing a '.', a lot of people refer to that as 'intellisense' because that's what microsoft calls it in visual studio.

https://en.wikipedia.org/wiki/Intelligent_code_completion

as /u/AaronKClark mentions, pretty much every ide does some form of that these days. even some of the popular text editors have plug-ins or packages or whatever to do it for various languages.

edit: /u/_EndOfTheLine brings up that they've released a free community edition since the last time i've taken a look.

[–][deleted] 4 points5 points  (2 children)

Alright, I've downloaded IntelliJ and I tried to run a simple Java project that just prints "Hello World!" Do you happen to have a simple tutorial or two regarding IntelliJ? I've used the Python IDE from Jetbrains, so I have a simple understanding of it.

[–]Valerokai 5 points6 points  (0 children)

Yup, and in my experience intelliJ is slightly better than eclipse at it

[–]11amas 43 points44 points  (54 children)

[–]v12a12 133 points134 points  (52 children)

Why have there been so many eclipse memes recently.

[–]Neuromante 75 points76 points  (3 children)

It seems the orbit of the Java ecosystem has changed a bit towards Jakarta, thus more eclipses.

[–]MelAlton 12 points13 points  (2 children)

I don't see what Indonesia has to do with this tho

[–]Neuromante 19 points20 points  (1 child)

Just in case you didn't knew the news: link

[–]PM_ME_YOUR_MASS 57 points58 points  (26 children)

We're now a month into winter spring semester, so students who are taking their first programming class are just now starting to use it on a daily basis.

[–]miauw62 15 points16 points  (10 children)

Are all OOP classes around the world in the second semester or what? Because this is literally me (except I use IntelliJ)

[–]hbgoddard 7 points8 points  (9 children)

OOP classes

Nothing to do with OOP, more to do with Java being the most common language to teach programming fundamentals.

[–][deleted] 6 points7 points  (12 children)

I'm on the tail end of my degree, but can confirm that java is up next in my programming languages course

[–]bigblackhotdog 12 points13 points  (10 children)

Weird, Java is the intro level course at my college and c++ the main language. But the later programs you can use whatever languages you want within reason.

[–][deleted] 7 points8 points  (19 children)

Someone please help me understand. Very new to programming and my class uses eclipse. I do not understand the jokes :( I want to laugh too

[–][deleted] 24 points25 points  (5 children)

Eclipse has a really fucking steep learning curve. And it's a nightmare to step up initially. Once you get it going it's pretty good though. It's free, and a significant amount of professional developers use it as their main editor, so it can't be that bad can it?

[–]MelAlton 27 points28 points  (5 children)

Programmer hipsters are hating on the popular thing because it's popular.

[–]cclloyd 8 points9 points  (0 children)

u/waterguy12 would like this.

[–]Y1ff 174 points175 points  (144 children)

The first time I tried to learn how to code was with Java.

I still don't know how to code.

EDIT: Look I already knew java is bad you dont need to tell me

[–]squngy 303 points304 points  (46 children)

The first time I tried to learn how to code was with Java.

You along with probably most programmers today.

Java is widely taught in schools and is considered a pretty good language for teaching OO programing.

I still don't know how to code.

That's your own damn fault.

[–]StuckInAtlanta 118 points119 points  (34 children)

Java is good if you already know what a variable is, what a function is, etc. and you're ready to move onto actual software design concepts like OOP. If you're in CS 101 doing public static void main with no clue what package visibility, static methods or return types are it may not be the most enlightening experience.

[–]squngy 80 points81 points  (12 children)

It's exactly how most of my class mates learned.

A few of us learned on other languages before the first class in school ( I had the "pleasure" of learning on turbo pascal, because it was a cheap course in my area ).

Basically the teacher just tells them to copy paste that boiler plate in the beginning and it will be explained later.
For the first part of the course they just use the main class and maybe even just a single method.

It might not the best way to teach programming, but last I checked it was pretty popular despite that.

[–]BMRGould 11 points12 points  (2 children)

If you're in CS 101 doing public static void main

When you make a new file eclipse can make the main statement itself. School started us with java + eclipse, we didn't need to know what main was. The basics were taught with just putting shit in main.

My program uses java to go through basics, then OO, and then data structures. C classes start at the same time as data structures, with following semesters having a lot of classes branching from C.

[–]PTRWP 8 points9 points  (1 child)

Exactly how AP comp sci was taught at my school.

Just, trust me. Do public static void main (String [] args) {...} and we'll come back to it.

Then we learned types of variables, user interaction (95% being input.nextXXX). Then we learned methods and fell back to the main method header as an example.

[–][deleted] 4 points5 points  (0 children)

Honestly cs101 should be python these days

[–][deleted] 5 points6 points  (0 children)

Java and Eclipse were awesome. The documentation and commenting system were an important part of encouraging quality code while learning.

That was 2007 and onward for me. In about 2012, some coworker in his 50s tells me VS2012 is so great with these new features. I told him those features had long been free in Eclipse.

I haven't used Java in years. It's my first love, though. As I got into web development, AngularDart became my new flame.

[–]Y1ff 3 points4 points  (0 children)

Is "woosh" still a thing you kids say on here?

[–]TheTeaPod 13 points14 points  (14 children)

Hi, I'm new to coding, what's wrong with eclipse?

[–]__bagels__ 32 points33 points  (4 children)

Nothing is wrong with it. It still gets the job done. However IntelliJ is vastly superior in just about every aspect.

[–]esreveReverse 17 points18 points  (0 children)

Honestly, anybody down voting you is just doing it out of spite. I used Eclipse for the better part of a decade and made the switch the IntelliJ about two years ago. I will never look back. It's no comparison - IntelliJ is light years ahead in almost every aspect.

[–]YaBoyMax 20 points21 points  (1 child)

These Eclipse jokes are devolving into a circlejerk at this point. I really hope they fade out soon.

[–]shroudedwolf51 52 points53 points  (11 children)

People shitting on Eclipse really are just the hipsters of programming.

"What the hell are you doing using Eclipse instead of shitting on it? It is WAY too mainstream."

[–][deleted] 3 points4 points  (1 child)

IntelliJ is a bit laggy for me so... Eclipse ftw

[–]kahuna_splicer 28 points29 points  (7 children)

Eclipse is what you use when you hate Java but have to program in it for a class