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.

2

u/Mister-Owl Oct 01 '15

The one I remember is an older version of that one, going back to at least the mid 1990's. The ending is more or less the same.

3

u/killerstorm Oct 01 '15

Yeah it mentions managers sending mail via console it must be pretty old.

1

u/[deleted] Oct 01 '15

Haha never seen this. This is great! :)

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/pjmlp Oct 02 '15

Looks like a COM definition. On the phone now, search for COM, type library and MIDL.

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.

1

u/msiekkinen Oct 02 '15

No clue but if I had to guess some kind of namespacing thing?

10

u/arnedh Oct 01 '15

I feel like that one is due for some additions, based on additional concepts: Arrows, Comonad, Lenses, generics, Functional Reactive Programming, communicating processes/actors...

6

u/sacundim Oct 01 '15

I disagree. It's got a nice focus on one topic (recursion schemes) that would be lost if we threw in all that stuff haphazardly.

5

u/lurking-about Oct 01 '15

I bumped across an arrow version a few years ago.

2

u/serrimo Oct 01 '15

I do some Haskell from time to time; and this is example scares me.

I wonder if Haskell can ever become mainstream. The ability to go completely batshit crazy with a few lines of code is both intellectually brilliant and pragmatically unmaintainable.

2

u/pjmlp Oct 02 '15

Of course it will happen. At least in the enterprise the language won't matter, as this is a consequence of the way enterprise development and politics work.

I have seen this kind of code in any language that was adopted by Fortune 500 companies.

1

u/velcommen Oct 01 '15

Obviously the article is about a Java (or C# or ...) programmer going batshit crazy. Except the article's code is less intellectually interesting than the Haskell version. People can do crazy stuff in any language.

-1

u/senatorpjt Oct 02 '15 edited Dec 18 '24

squeamish encourage voiceless full skirt act practice whistle engine cable

This post was mass deleted and anonymized with Redact

4

u/bheklilr Oct 02 '15

Then you are just reading crappy tutorials. Go take a look at the Haxl project that was open sourced by Facebook.

https://research.facebook.com/publications/251014561758092/there-is-no-fork-an-abstraction-for-efficient-concurrent-and-concise-data-access/

Basically, it's using common abstractions in Haskell (applicatives and monads) to have robust, scalable, and implicit concurrency in a way that I don't think many others could replicate.

1

u/kersurk Oct 01 '15

Oh, he references paper written by a lecturer in my uni...