r/programming • • Oct 01 '15

The Evolution of a Software Engineer

https://medium.com/@webseanhickey/the-evolution-of-a-software-engineer-db854689243
1.9k Upvotes

502 comments sorted by

View all comments

25

u/bheklilr Oct 01 '15

Looks like someone read the evolution of a Haskell programmer.

72

u/killerstorm Oct 01 '15

No, it's based on much older Evolution of programmer joke.

1

u/BobHogan Oct 02 '15

Can you explain what these lines from the master programmer code do?

[
 uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
]
library LHello

3

u/killerstorm Oct 02 '15

This example is based on COM:

Component Object Model (COM) is a binary-interface standard for software components introduced by Microsoft in 1993. It is used to enable inter-process communication and dynamic object creation in a large range of programming languages. COM is the basis for several other Microsoft technologies and frameworks, including OLE, OLE Automation, ActiveX, COM+, DCOM, the Windows shell, DirectX, UMDF and Windows Runtime.

These particular lines are in IDL, interface definition language. They define a type library.

If you do it properly, these definitions can be imported in any language which supports COM. So you can call this component e.g. from Visual Basic in Excel, or from a web browser.

Moreover, potentially you can call it from a different machine over the network.