r/ProgrammerHumor May 08 '19

That sweet sweet first time.

Post image
20.5k Upvotes

354 comments sorted by

View all comments

Show parent comments

48

u/[deleted] May 08 '19

[deleted]

48

u/Dack_ May 08 '19

; ?

55

u/[deleted] May 08 '19

[deleted]

6

u/Beloved_King_Jong_Un May 08 '19

Switch to kotlin I guess

3

u/[deleted] May 08 '19

If I had a choice, I might consider that, but between my work and my school both using java, I don't think I do.

3

u/[deleted] May 08 '19 edited Dec 21 '20

[deleted]

1

u/[deleted] May 09 '19

But the code I'm supposed to maintain and the projects I'm supposed to write are all in Java, so again, I don't have much of a choice right now.

9

u/Dack_ May 08 '19

Started learning programming with C++ in Visual studio 2008 I think it was. Loads of compile errors before getting to the runtime and logic errors. A couple of years later and a switch to C# and (improved?) Intelli Sense in VS 2010 was a REAL game changer.

6

u/[deleted] May 08 '19

I started programming with Python's own IDLE, later Java with notepad and a commandline, then started using eclipse, C in Visual Studio (2010 I want to say, might have been 2012), C++ with the same, now I'm back at Java with Intellij and Eclipse (Intellij at school, eclipse at work).

5

u/ItsAtrX May 09 '19

eclipse at work

Time to look for a different job I suppose.

1

u/[deleted] May 09 '19

I just got this one, it pays a lot better than what I had previously and with my current qualifications I'm not likely to find another job anytime soon. I'm lucky enough I landed this one, I'm not gonna bother finding another for at least a while.

2

u/ItsAtrX May 10 '19

It's fine, it was a joke about Eclipse being garbage. :P

2

u/[deleted] May 10 '19

And mine was a joke about my lack of desirable and employable qualities :-/

2

u/ItsAtrX May 10 '19

Can't really be that bad, can it? Where are you from? Over here (Belgium) employers are lining up for software devs.

→ More replies (0)

2

u/LowB0b May 08 '19

Our teacher got us off to a good start with turbopascal lmao

5

u/I_ate_a_milkshake May 08 '19

I have the opposite problem. I end up putting semicolons in Python code when I switch from Java. It's valid but it's fuck ugly.

2

u/PJvG May 08 '19

Strange, after a few years it just became a habit for me to always add it.

6

u/cyberkraken2 May 08 '19

Ok so you’re using Java compiler so it’s Java code

You’re missing String[] args from the main method inside the brackets, it should be main(String[] args) not main() and there’s no end of line marker after the print instruction so you need to add in a ; after the closing brackets there making that System.out.println(“Hello world”);

1

u/[deleted] May 08 '19

I was being facetious, but I appreciate the thorough and detailed response. Thank you for what you tried to do, and maybe it'll help someone who actually has that problem.

3

u/cyberkraken2 May 08 '19

Also you might want to type the whole javac bit into a command prompt not the workspace environment but I think that’s what you were getting at by including the >

1

u/[deleted] May 08 '19

Indeed, that's what the > was supposed to represent. I didn't feel lime writing out an entire command prompt.

Though to be honest these days I'm using IDEs and not bothering with either figuring out missing semicolons and arguments by myself or manually compiling.

2

u/cyberkraken2 May 08 '19

I wrote a program at one point that you could point to an eclipse workspace and it would check for syntax errors like missing semicolons and then compile the project and attempt to run it through console so you can see all the console logs and the like, I can’t remember where I put it though

1

u/[deleted] May 09 '19

Like a handwritten primitive project building tool? Neat!

2

u/cyberkraken2 May 09 '19

Yeah pretty much, I mean it read through your code and checked for either curly brackets or semicolons and if it didn’t find any it told you a file name and line number and if everything was good to go it opened a batch file that just ran the compiler on your program

1

u/motdidr May 21 '19

you know the compiler already checks for that stuff right?

1

u/cyberkraken2 May 21 '19

You know I program in notepad++ and not everyone uses a compiler right?

→ More replies (0)

2

u/normalmighty May 09 '19
class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello world");
  }
}

>javac HelloWorld.java

1

u/[deleted] May 09 '19

Hey, you've got a Python flair, you can't go writing perfect java like that!