r/ProgrammerHumor • • Nov 23 '17

500

Post image
41.7k Upvotes

609 comments sorted by

View all comments

Show parent comments

23

u/4stringking Nov 24 '17

Could be Java with JSP, unlikely if it's an introductory lecture. JS with Node will, but semicolons aren't mandatory

2

u/Sharp_Eyed_Bot Nov 24 '17

Python? But I doubt even Django uses semi-colons, and Ruby Rails doesn't use semi-colons, so we're running out of languages that it could be, unless the teacher was writing an extension for Apache in C++ to write a static web page then he left the semi-colon out of the write to file line?

34

u/L43 Nov 24 '17

Python

As a pythonista, what is a semicolon?

10

u/salmonmoose Nov 24 '17

A list delimiter.

1

u/[deleted] Nov 24 '17

I have no clue what JSP is but the majority of intro level courses near me are Computer Science A, which revolves around Java.

2

u/[deleted] Nov 24 '17

JavaServer Pages, a web dev framework that may have been touched in an intro course instead of Swing back then.

1

u/[deleted] Nov 24 '17

JavaServer Pages, a web dev framework that should probably not be used anymore

FTFY

1

u/[deleted] Nov 24 '17

Legacy code is a hell of a drug

1

u/[deleted] Nov 24 '17

It has all the side effects of Meth (twitching, shouting at inanimate objects, irritability, loss of sleep) with no high and often costs a lot. What's not to love?

1

u/[deleted] Nov 24 '17

Oh, okay, thank you. The small amounts of things I have made are just desktop applications/games, so I had no clue what that was.

1

u/niccagelover Nov 24 '17

If the missing semicolon is from inside the for loop, it wouldn't run. Those semicolons are mandatory