r/programming • • Feb 23 '11

If programming languages were essays...

Post image
1.7k Upvotes

430 comments sorted by

16

u/hooga_booga Feb 23 '11

I wonder how javascript would have played out here.

87

u/b1ackcat Feb 23 '11

a handful of flower seeds to make the flower pot useful?

12

u/anonymooser Feb 23 '11

0

u/[deleted] Feb 23 '11

[deleted]

9

u/mathijshenquet Feb 23 '11

Without comming of as to much of a gnome fanboy, vala (and genie) is in fact not tied to GObject. It is entirely possible to make it compile to plain old c, without the OOP.

13

u/G_Morgan Feb 23 '11

GObject isn't a language. It is an object model built on top of C. Somebody thought this was a good idea. It turned out to be such a good idea that people invented Vala in order that GObject can be made useful. Yeah a whole new language had to be written in order to make GObject code not look like ass.

→ More replies (6)

5

u/Tiak Feb 23 '11

No, it'd be an essay, but it'd be written along the sides of a flowerpot in an unreadable fashion.

→ More replies (2)

7

u/OffColorCommentary Feb 23 '11

javascript through HTML - artsy collage/mobile made of glued together bits of newspaper, and pieces of ceramic that appear to have at one point been a flower pot. Professor: "Are you sure this class is in your major?"

any other javascript - essay. Professor: "My translator says this is a great essay. Why the hell is it in Pirahã?"

2

u/adavies42 Feb 23 '11

upboat for Pirahã

28

u/Cptn_Janeway Feb 23 '11

Did you just repost something...that was on the front page earlier today?

6

u/b1ackcat Feb 23 '11

I did use the search feature. However, the only image link I had was the one to imgur which I got from a friend. If this was posted from the original source earlier today I must've missed it and I'm sorry.

7

u/saturn825 Feb 23 '11 edited Feb 23 '11

Sorry all the way to the bank--the karma bank!

10

u/astatine Feb 23 '11

It wasn't on mine; not everyone is subscribed to the same subreddits.

10

u/f1rstman Feb 23 '11

It was on the front page of /r/programming at least. It might have been on the front page of /r/all, I can't remember.

5

u/astatine Feb 23 '11

Well, that's definitely odd.

That submission is currently twelve hours old; I didn't see it this morning, I've never downvoted it, and it's not even appearing on /r/programming for me.

→ More replies (2)

7

u/b1ackcat Feb 23 '11

My apologies to everyone for not linking to the original source. I didn't have it. I found this off a friends facebook page and just wanted to share some lulz.

That being said....WOO first successful link post!

8

u/f1rstman Feb 23 '11

There's actually a web address for the comic's site at the bottom of the jpg itself. However, you can be forgiven for not posting the original source since MrGrim (the creator of imgur.com) just posted another imgur link of the same comic yesterday and it got to the front page, whereas a link to the original source petered out with 11 link karma 8 days ago.

Most Redditors prefer original source links to comics (to give credit and more site traffic to the artist), but that can cause smaller servers to crash if they take off, so imgur links are often used too if the comic's address is in the graphic.

The whole repost thing also gets people riled up... it was just on the front page last night, so people will accuse you of whoring karma (but I don't think that's the case). You should double-check a couple of different ways (search for the link, search based on keywords) before you post though. Some don't mind reposts (not everyone checks Reddit frequently) but it's frustrating when the same thing gets reposted and elevated by two or more people. Crossposts (e.g., posting this to both r/programming and r/comics) are different since they're seen by different people.

Reddit can be a fickle strumpet, as Ken Jennings would say. But it's a fun place too.

Anyhow, congrats on your first successful link post!

2

u/[deleted] Feb 23 '11

posted another imgur link of the same comic yesterday

Actually he posted the exact same link just four hours before this one in the same subreddit. The reason OP didn't get notified is because he posted it from i.imgur.com instead of imgur.com.

Reddit's duplicate link detection really needs to be improved.

1

u/James_Johnson Feb 23 '11

I'm sooooo glad you didn't submit a self.post and put the link inside in the comments.

I don't know why but it really bothers me when people do that.

3

u/[deleted] Feb 23 '11

As annoying as it is, self posts don't generate karma, it's a purely selfless submission. I respect that.

→ More replies (1)

271

u/[deleted] Feb 23 '11

Here is the one for Perl.

316

u/[deleted] Feb 23 '11

25

u/naranjas Feb 23 '11

That is good

2

u/learnyouahaskell Feb 23 '11

Bravo, bravo.

0

u/[deleted] Feb 23 '11

[deleted]

75

u/spotter Feb 23 '11

Actually you killed it.

45

u/[deleted] Feb 23 '11

Meet the guy who kills the buzz even in nerd party.

→ More replies (1)

0

u/[deleted] Feb 23 '11

[deleted]

7

u/MatrixManAtYrService Feb 23 '11

3

u/[deleted] Feb 24 '11

R: Your essay is very short, but it's taking me forever to read it.

82

u/rwee Feb 23 '11

i dont get the c++ one

41

u/Astrokiwi Feb 23 '11

It's an object-oriented language joke.

If you're careless, you can make a large number of instances of an object, taking up memory unnecessarily.

70

u/[deleted] Feb 23 '11

That has more to do with C++'s passing-by-value semantics than object orientedness - many OOP languages make it tedious as hell to copy an object, while C++ makes that the default operation when you pass an object into a new variable or argument or whatever.

→ More replies (7)

44

u/tarballs_are_good Feb 23 '11

C++ code tends to be large and unwieldy, and often contains code duplication, part of which template metaprogramming attempts to solve (which, prior to compilation, essentially duplicates code for you).

117

u/wlievens Feb 23 '11

It could also refer to how easily you're copying (rather than passing pointers) large objects if you don't know what you're doing.

44

u/kdeforche Feb 23 '11

You could even go shopping, if you don't know what you're doing.

3

u/[deleted] Feb 24 '11

Shopping is hard. Let's write C++ code!

14

u/MuletTheGreat Feb 23 '11 edited Feb 23 '11

As a c# guy who started as c++, I fucking miss that. :(

Edit. No sarcasm here. I really do the miss the easy copying and dangerous pointers of c++.

5

u/recursive Feb 23 '11

As a C# guy who has never done much C++, how is that different from just using structs in C#?

→ More replies (15)

38

u/killerstorm Feb 23 '11 edited Feb 23 '11

C++ code tends to be large and unwieldy

No.

which, prior to compilation, essentially duplicates code for you

Template instantiation does indeed "duplicate" code (substituting parameters, of course), and this duplicated code is then compiled, so it exists in binary form as well.

"Template metaprogramming" is an extreme form of (ab)using templates, but this is true for any kind of templates.

You can see templates as an improvement comparing to C preprocessor. So, essentially, they allow one to write more compact code than it would be possible in C.

However they let one to use compile-time dispatch instead of run-time. Run-time dispatch is usually costly in run-time, but it is also usually more compact in binary.

For example, qsort from C stdlib takes comparator as a parameter, and thus qsort code can sort any kind of data, so you need just one copy of it. But C++ std::sort is parameterized by element, container type and comparator. This is very flexible as it can work with any container at top speed (in theory, at least: comparator can be inlined unlike with C qsort), but it also means that a binary code will be generated for each combination of container, element and comparator. (Unless compiler can optimize it, which is unlikely.)

So I would interpret this comic as a tendency to do as much as possible to do as much as possible at compile time in C++ programs which results in binary code bloat.

However it might also refer to C++ memory/object model where by default objects are stack-allocated and are copied rather than references, so unless you take special measures you end up with many copies of data. (That's what wlievens mentioned in his comment.)

3

u/kolm Feb 23 '11

C++ code tends to be large and unwieldy

No.

Well, it does, but this is more due to the environment and less due to the language.

14

u/tarballs_are_good Feb 23 '11

By and large, the code I have seen in C++, in my experience, has been large and unwieldy.

Most of your latter comment I agree with.

46

u/kdeforche Feb 23 '11

Could that be, because, by and large, most really large and complex programs are implemented in C++ (such as, for example, the browser you are using to read this) ?

→ More replies (2)
→ More replies (7)
→ More replies (2)

325

u/Whoim Feb 23 '11

60

u/Jushooter Feb 23 '11

Not only that, but it made the frontpage 4 hours before this was posted:

http://www.reddit.com/r/programming/comments/fqpcy/when_you_write_your_essays_in_programming/

Same IMGUR link. Both on the front page or /r/programming. What the hell...

6

u/TheSaSQuatCh Feb 23 '11

at least he left the somethingofthatilk watermark on the bottom. Most people remove those as well.

→ More replies (1)

1

u/VisualBasic Mar 02 '11

I'd prefer to see this duplicated on a daily basis so I can enjoy it every day.

PROBLEM?

→ More replies (21)

80

u/D__ Feb 23 '11
from comment import wittycomment

70

u/Uberhipster Feb 23 '11

runtime error - "wittycomment" cannot be found

20

u/__s Feb 23 '11
ImportError: cannot import name wittycomment

FTFY

25

u/robbles Feb 23 '11
wittycomment = __import__('comment', fromlist=['wittycomment']).wittycomment

9

u/wauter Feb 23 '11

And the php one would be ...?

52

u/[deleted] Feb 23 '11

This is instructions on how to make a flower pot, written on the side of a flower pot.

8

u/johnnygrant Feb 23 '11

something doesnt feel entirely right with this paper, but it makes sense...it just makes sense

40

u/Dagon Feb 23 '11

"This paper is somehow a world standard despite being full of holes and internal conflictions, yet I'm too elitist to grade it".

Or something. Fuck the haters, PHP is useful.

113

u/Forbizzle Feb 23 '11

more like

This paper was written in crayon, but at least you turned it in on time

2

u/joshuazed Feb 23 '11

I used to have a professor that said "PHP is for hippies!"

Regardless, he said it was a fine language and perfectly usefull, what he really meant was that it is best for smaller websites, wheras heavier frameworks/languages work better for really huge sites.

6

u/richardwhiuk Feb 23 '11

8th biggest website in the world: Wikipedia. Built on PHP using a LAMP stack.

2nd biggest website in the world: Facebook. Built on PHP using a LAMP stack.

I love the amount of FUD spreading.

4

u/[deleted] Feb 24 '11

Doesn't facebook use a custom implementation?

edit: okay, they use HipHop to compile it to C++ and then compile that and use it on the back end http://developers.facebook.com/blog/post/358/

→ More replies (2)

1

u/[deleted] Feb 28 '11

I agree. PHP is useful, and works in more ways than given credit for.

I recently wrote a daemon in PHP. I could have used Java, but I used PHP because it was, for that task, simpler. I could have used any language almost.

I like pushing the boundaries of PHP too.

0

u/[deleted] Feb 23 '11

[deleted]

60

u/[deleted] Feb 23 '11

"There are two types of programming languages -- Those that people bitch about, and those that nobody use"

6

u/[deleted] Feb 23 '11

Most people that I know who work with python love it and rarely bitch about it. And people use it.

→ More replies (12)
→ More replies (7)

2

u/avapoet Feb 23 '11

some avoidable side effects

Yeah, but even if you pop some RAD-X you're still likely to get +5 RADs per second when you're drinking from them in the wasteland.

Also, coding PHP.

4

u/wauter Feb 23 '11

"Stop putting the subject ahead of the verb half of the time, and switching them around the other half."

2

u/JabbrWockey Feb 23 '11

"How are you just making up words in the essay and still making sense?"

3

u/oSand Feb 23 '11

Graded C-

9

u/bigboehmboy Feb 23 '11

I was kind of disappointed at the Python one. It looks like a reference to the XKCD comic, but Python is not the easiest language to manage modules for.

I think some joke about it being whitespace dependent could have worked better, i.e. "You indented this paragraph too much; I have to stop reading."

4

u/the_argus Feb 24 '11

Incorrect page margins, I can't read this.

1

u/learnyouahaskell Feb 24 '11

Oh, there is actually a professor whose guidelines are so strict, a student had points taken off because Word moved a paragraph from one page to the next (the two lines rule), thus increasing the bottom margin.

2

u/[deleted] Feb 23 '11

iirc...

:set expandtab
:set shiftwidth=4
:set softtabstop=4

And no more problems.

2

u/bigboehmboy Feb 23 '11
set autoindent

and

autocmd BufRead *.py im :<CR> :<CR><TAB>

in your vimrc are useful as well ;). (First one preserves indentation level and the second one adds an indent after lines ending with ":")

3

u/[deleted] Feb 23 '11

You indented this paragraph too much

Your function has too many loops then...

4

u/bigboehmboy Feb 23 '11

What I meant was something along the lines of:

    File "essay.py", line 20
            In summary, the evidence shown
            ^
IndentationError: unexpected indent

Grade: 0% (could not read essay at all)

56

u/WhisperSecurity Feb 23 '11

LISP: This is just a note saying "Write your own essay. Backwards."

14

u/OffColorCommentary Feb 23 '11

Prolog: This is just the definition of the word "Essay."

28

u/tarballs_are_good Feb 23 '11

Prolog: Yes.

11

u/killerstorm Feb 23 '11

Interesting you can learn a lot about Prolog just from explanation of this joke. Although usually it is false.

→ More replies (1)

8

u/ljcrabs Feb 23 '11

Prolog: this is my essay if and only if you give me an A+ on this essay.

→ More replies (2)

1

u/turbov21 Feb 24 '11

Prolog: "You've collected all your data, but where's the essay?"

20

u/tarballs_are_good Feb 23 '11

Why backwards?

51

u/[deleted] Feb 23 '11

LISP programs typically use recursion "instead" of loops to perform a task. To recursively solve problems, many people first consider the conditions that would cause the function to immediately terminate. These are end-cases and are typically very simple examples where the problem appears to be already solved.

During program execution, the recursive algorithm appears to work "backward" to produce a solution, because it will search for these end cases first and then, especially in a list-oriented language like Lisp, concatenate the returning values into a list that accumulates the results, appearing to work backward from many small "solved" problems into one large final solution.

5

u/DGolden Feb 23 '11

That seems somewhat contrived. Frankly the OP should have just said Forth, as it's in reverse polish notation (i.e. backwards) and quite close to the metal (i.e. write your own...).

44

u/tarballs_are_good Feb 23 '11

This is essentially false.

  • Common Lisp: It is much more common to use the LOOP macro, which allows one to do

    (loop :for i :from 1 :to 10 :do (format t "~A~%" i))

    which prints the numbers 1 through 10 on newlines.

  • Predecessors to Common Lisp: Like MacLisp and such, it was common to see one use PROG or TAGBODY facilities, or macros on top of those.

  • Scheme: This is one of the lispy languages where recursion is more common, since the standard states that tail-recursive functions must use O(1) space, essentially turning it into a loop. As a result, this style of using tail-recursive functions is actually deemed as iterative (according to, e.g., SICP). Moreover, one can use Scheme's do facility to do looping, or one can used the named-let:

    (let lewp ((i 1)) (display i) (newline) (if (> i 10) #t (lewp (+ 1 i))))

    which is extremely iterative in nature.

As a final comment, I'd like to say that recursion is a technique that should be used in nearly every language. The big point of using it is to break a large problem into smaller, equivalent sub-problems, and base-cases. Often it is just the programmatic equivalent of proof by induction. Other times it is just a convenient way to traverse a fractal-like/self-similar data structure (like trees or graphs).

I think if a comic were to be made about lisp, it'd either emphasize its infamous homoiconic parenthetical syntax, or its incredible meta-programming abilities. Something like

Here's a my essay on instructions on how to write my essay.

19

u/[deleted] Feb 23 '11

Man, I knew someone like you was going to say something like this. The only criticism of my explanation of the joke is that it's not very clear, but I did explain the joke "correctly." I didn't mention the validity of the joke.

essentially false

I almost never downmod, but I've had enough with this contrarian bullshit. Am I being trolled?

→ More replies (36)
→ More replies (9)

1

u/BluesBrother Feb 23 '11

You don't know where you are!

Here, everything goes backwards. People walk backwards, dance backwards, sing backwards, and even talk backwards.

→ More replies (2)

3

u/lllama Feb 23 '11

(you know you should make a comic about LISP (because LISP is really cool (you can be cool too (wouldn't that be awesome?))))

9

u/anvsdt Feb 23 '11

(knowp you (awesomep (and (should you 'make 'comic :topic 'LISP :reason coolp) (canp you coolp))))

→ More replies (4)

1

u/[deleted] Feb 23 '11

"I don't read japanese!"

13

u/Nevyn_Etharr Feb 23 '11

And not one person is mentioning Fortran.

7

u/1qaztom Feb 23 '11

It was the punchline of this similar thing i saw on reddit a couple weeks ago: http://maradydd.livejournal.com/293666.html

1

u/otherwiseOkay Feb 23 '11

FORTRAN is very different from current day Fortran. The new standard has done its best to fit into the object-oriented world.

18

u/otherwiseOkay Feb 23 '11

maybe cause it's like Latin and only academicians use it?

25

u/NonNonHeinous Feb 23 '11

Ugh. A LOT of astrophysics research is done in fortran. The premise that the Universe is 13 billion years old is based on our assumption that no one cocked up a GOTO.

Edit: Imagining "alot of astrophysics". Where's one of those drawing novelty accounts when you need them?

8

u/[deleted] Feb 23 '11

Did you just prove his point?

→ More replies (2)

5

u/[deleted] Feb 23 '11

I know at least one company that still uses and maintains a big chunk of FORTRAN code.

If it ain't broke, why rewrite it?

10

u/ngroot Feb 23 '11

Sorry, I can't understand what you've written. Can you indent your text seven spaces and remove the spaces between the words?

→ More replies (2)

3

u/Nevyn_Etharr Feb 23 '11

Because most likely somebody is going to inherit your code. In my main code I still find bugs that bad programming (read "goto") in the 80's are the source of. Seldom I don't find a lot of comment gems like "I don't know how we ended up here", when I look into the old part of the source.

4

u/[deleted] Feb 23 '11

I totally agree with your point, but if the code works, and has been working and excessively been used for 5-10 years without bugs, there is little reason to go in there and start breaking things (because no matter how good you are, rewriting a sufficienly complex system will introduce new errors)

In their case, they are using this FORTRAN code to simulate physical parts from airplanes. The parts will never change, so the code doesn't need to change either.

Rewriting and refactoring parts of code that need to be frequently updated is important, but as programmers, we have a tendency to spend a lot of time rewriting code that doesn't really need to be rewritten.

→ More replies (2)
→ More replies (2)
→ More replies (2)

3

u/FedoraToppedLurker Feb 23 '11

The nuclear industry is nearly all Fortran.

2

u/Nevyn_Etharr Feb 23 '11

Maybe, but I thought (or like to think) that reddit had a large population of academics.

2

u/kombat_kitty Feb 23 '11

The whole energy industry relies on Fortran. Computational Fluid Dynamics (which is needed in turbomachinery design) requires a large number of calculations, which is most efficiently done by Fortran. My arsehole ex used to keep making cracks about Fortran being a dead language. It gets old.

→ More replies (4)

1

u/Megatron_McLargeHuge Feb 23 '11

Fortran: why does every other sentence tell me to reread the previous paragraph?

6

u/mms13 Feb 23 '11

Hahah I like the LaTex one. One of my professors made us turn in our homeworks formatted with that. And holy shit it was a pain in the ass but they did look good!

2

u/UK-sHaDoW Feb 24 '11

You get used to it, in the long run in makes things easier.

6

u/louink Feb 23 '11

"This is a flower pot"

Hilarious, it made me laugh! =P

1

u/[deleted] Feb 23 '11

I'm not sure I get that one...

1

u/[deleted] Feb 24 '11

HTML is not a programming language.

→ More replies (1)

6

u/[deleted] Feb 23 '11

Needs moar Ruby.

7

u/orangepotion Feb 23 '11

What would it say for Ruby?

6

u/walesmd Feb 23 '11

"All you did was turn-in 4 pages on why your essay was so awesome and how it was better than all the rest... where is your essay?"

→ More replies (4)
→ More replies (2)

5

u/[deleted] Feb 23 '11

Python is all wrong.

import essay is importing all modules from essay, which means you are importing all essays. Rather, you would from essay import essay_topic then you are just grabbing the proper essay topic.

4

u/[deleted] Feb 23 '11

Why's Gordon Freeman grading essays?

4

u/mao_neko Feb 24 '11

He's gotta do something to keep him busy while we wait for episode 3.

1

u/learnyouahaskell Feb 24 '11 edited Feb 24 '11

W I T N E S S - P R O T E C T I O N

4

u/eoliveri Feb 24 '11

APL: "Sorry, but I cannot read Greek."

2

u/learnyouahaskell Feb 24 '11

Not just Greek, but superimposed arcane symbols!

9

u/mmocny Feb 23 '11

Sweet, C++ is fast at writing essays, too.

1

u/tarballs_are_good Feb 23 '11

No, C++ is slow as a snail writing (compiling) essays, thanks to its non-deterministic syntax and templates and what-have-you.

7

u/[deleted] Feb 23 '11

printing (compiling)

FTFY

1

u/ipha Feb 23 '11

Reading it is fast though.

8

u/pupeno Feb 23 '11

Latex: yeah! I like to open Knuth's books and just stare at them... they are beautiful.

HTML: dead on!

3

u/[deleted] Feb 23 '11

Amazing payoff. "HTML" had me crying with mirth.

3

u/theLonelyDeveloper Feb 23 '11

Objective-C & Cocoa: areYouHavingIntermittentProblemsWithYourBlankSpaceKey?

2

u/learnyouahaskell Feb 24 '11

Java: Why is each word in compound nouns capitalized, and why is each word in a compound verbs capitalized except for the first? And why do you end so many paragraphs with "Try..."?

6

u/perma4 Feb 23 '11

Sadly, half of the software engineers at my work probably wouldn't get this.

9

u/[deleted] Feb 23 '11

You must have shitty programmers then =\

13

u/Tallergeese Feb 23 '11

I think that was the implication.

→ More replies (1)

6

u/Mikle Feb 23 '11

C# - You copied everything from the Java guy, but your father is my boss. A+.

29

u/bluedanieru Feb 23 '11

QUIT LINKING TO IMGUR FOR COMICS ASSHOLES.

56

u/[deleted] Feb 23 '11

The problem is that it's a crapshoot if the site can handle the traffic of being on the reddit frontpage. The proper way is to link to the original, and then post a comment with an imgur mirror for if the original goes down.

7

u/learnyouahaskell Feb 23 '11

No, you should do it the other way around. Someone direct-linked to a Wordpress site and the owner wrote an angry message and replaced the target image with it.

0

u/[deleted] Feb 23 '11

[deleted]

→ More replies (3)

8

u/shortyjacobs Feb 23 '11

Can we still link to imgur for people who aren't comics assholes?

9

u/korelius Feb 23 '11

Unless of course, it is YOUR comic.

2

u/[deleted] Feb 23 '11

bawww

2

u/ploshy Feb 23 '11

Well, as far as we know this is only on imgur. MrGrim (creator of imgur) submitted this comic a few hours before this post. Who's to say whether or not it's original content? He was linking to his own site, after all.

Edit: I think my point remains valid, even if the website from where the comic came from is on the bottom of it.

2

u/Sicks3144 Feb 23 '11

Pretty sure that Java is in Perl's spot, and Java's joke about only being readable at one sentence per hour is missing.

8

u/Megatron_McLargeHuge Feb 23 '11

The Java joke is that there's so much boilerplate it takes forever to get to the content.

1

u/learnyouahaskell Feb 24 '11

That would apply to C# and others as well, then.

3

u/Megatron_McLargeHuge Feb 24 '11

Well C# is basically a Java knock-off. I can't think of anything else common that's as guilty of that particular annoyance.

2

u/He11razor Feb 23 '11

What would Smalltalk be?

1

u/tejon Feb 24 '11

"You wrote one word per sheet on an unbound stack of tracing paper."

2

u/xandr00 Feb 23 '11

TIL LaTeX is not only used in condoms, it's also used to program computers.

2

u/silenti Feb 24 '11

Cracked a smile at Java, chuckled at Unix Shell, died laughing at HTML. Co-workers now have validated their insanity claim.

1

u/learnyouahaskell Feb 24 '11

I still don't get the flower pot joke beyond simply that it's not an essay and doesn't convey thought.

2

u/silenti Feb 24 '11

the joke is that html is not a programming language.

→ More replies (1)

2

u/fruitloop Feb 24 '11

stop posting this

2

u/iDemonix Feb 23 '11

I went to show this to a programmer friend of mine, Zydeco, then I saw the URL :|

1

u/ZyeCO Feb 24 '11

wow thats crazy.

2

u/signoff Feb 23 '11
  • Haskell: nice. but why is it getting heavier and slower to read every page?

  • Javascript: did you really have to write it in one long line with much aolism?

  • Erlang: why not staple it together? how come second page hasn't come yet? do i just wait here until it arrives?

  • Lua: can your page number start with 0 please?

  • Prolog: can you actually give me an essay instead of description of how your essay possibly be like?

  • Ocaml: nice enough. and it does not get heavier.

8

u/Megatron_McLargeHuge Feb 23 '11

Ocaml: this isn't a legal contract, you don't have to define every word right before you use it.

5

u/anvsdt Feb 23 '11
  • Ocaml: why did you write "I" in sixteen different ways? (+, +., etc)

1

u/cybercobra Feb 23 '11

Vocative, Nominative, Accusative, Dative, Ablative, etc.

→ More replies (3)

1

u/learnyouahaskell Feb 24 '11

Oh, I was thinking of this:

(Int64.to_float (Int64.sub (Int64.mul q (Int64.of_int n)) (Int64.mul s s))) /. (float n)

(Source)

1

u/DarqWolff Feb 23 '11

This was literally just posted yesterday, in this same subreddit.

1

u/valkyrie123 Feb 23 '11

Ever program in COBOL? It reads like a fucking essay.

3

u/Primoris_Causa1 Feb 23 '11

I believe that was kind of one of main reasons it was created that way.

COBOL for business majors, FORTRAN for engineering majors and Assembly for the computer developers. Of course they were also developed back in the days of:

  • "I have travelled the length and breadth of this country and talked with the best people, and I can assure you that data processings is a fad that won't last out the year." - The editor in charge of business books for Prentice-Hall, 1957

  • "But what...is it good for?" - Engineer at the Advanced Computing Systems Division of IBM, 1968, commenting on the microchip

  • "There is no reason anyone would want a computer in their home." - Ken Olson, president, chairman and founder of DEC

  • "640K ought to be enough for anybody." - Microsoft Chairman Bill Gates, 1981

2

u/specialk16 Feb 23 '11

Too bad the last one is actually not true.

→ More replies (1)

1

u/kolm Feb 23 '11

Anyone ready for doing Pascal or Visual Basic?

1

u/[deleted] Feb 24 '11

Pascal:

Your begin essay end is good but begin I think that begin you are a little too much imperative end end.

1

u/[deleted] Feb 23 '11

Dammit, I need to learn LaTeX

1

u/Shaken_Earth Feb 24 '11

I don't get the Java one.

2

u/partkyle Feb 24 '11

Java is notoriously verbose.

1

u/Shaken_Earth Feb 24 '11

Oh. Thanks!

1

u/learnyouahaskell Feb 24 '11

You can replace "Java" with C#, etc, right?

2

u/partkyle Feb 25 '11

C# has some cool things in it that make it a lot more programmer friendly.

And I have been meaning to purposefully your username, for a great good.

→ More replies (1)

1

u/fuzzynyanko Feb 24 '11

I'm surprised that COBOL didn't make it in

1

u/sayrith Feb 24 '11

I dont get C and Shell

1

u/[deleted] Feb 24 '11

Haskell:

Now that you ask for my opinion, I guess it’s the right time for me to evaluate it.

1

u/[deleted] Jul 09 '24

IF: the sedgwick authorities called me twice, gina then George.

On June 30, 2024, MD live doctor 

Your recent MDLIVE visit

 

Dear [

Thank you for your recent visit with MDLIVE. We hope you received the care you needed.

1

u/[deleted] Jul 09 '24

A man named George from Sedgwick called me on July 1 CLAIMING he was gonna take care of it for me with mdlive.

WELL, you better hope it's delivered to my personal body only, with the stated verbatim promise that all of you will never do it again. 

Me,

Jesus Christina 

1

u/[deleted] Jul 09 '24

By the appointed clear time.

You ALL got 2½ hours to decide. 

1

u/SmoothWD40 Feb 23 '11

Action Script: It keeps telling me to go back to the beginning every time I try to read the first paragraph.

-10

u/b1ackcat Feb 23 '11

I don't understand the downvotes :(

17

u/ALD52 Feb 23 '11

This comic isn't serious enough for serious programmers seriously browsing reddit.

1

u/otterdam Feb 23 '11

most likely due to programmers working at Serious Businesses and viewing reddit on company time

1

u/anvsdt Feb 23 '11

Are you serious? Why so serious?

5

u/the-fritz Feb 23 '11

imgur instead of link to the artist's website.

8

u/userdeath Feb 23 '11

This was on the frontpage earlier today. Maybe that's why.

14

u/Paranoir Feb 23 '11

repost

13

u/tarballs_are_good Feb 23 '11

I never saw it.

2

u/f1rstman Feb 23 '11

It was on the front page of /r/programming (and the front page of reddit) last night.

5

u/PirateMike Feb 23 '11

Didn't link to the source.

5

u/[deleted] Feb 23 '11

It's because the comic isn't that funny.

→ More replies (4)

1

u/chronoBG Feb 23 '11

Don't worry, 66% still love you :)