Just found this talk and accompanying paper on categorizing programming languages from the perspective of psychoanalysis
@urso so I'm a masochist psychopath programmer: I like this moment when my colleagues look at me with this kind of weird reluctant face: wow you solved this THAT way...! my minimalistic languages? unix tools when everybody use JS but I think I'm more a psychopath because the root of my behavior is breaking all the rules. I LIKE IT. I'm a frontend dev. I fuck up types. Think about me as a VERY DISOBEDIENT hypermaso sub who loves torturing any dom by shaking his authority with a lot of pleasure
@grosours I supposed I'm well entrenched into the sadist camp, with a side of fetichism. The first language I began writing code with was Haskell - that one in the obsessional category - but I good fascinated by the likes of Erlang and Smalltalk still at college, then the lisp family of languages later
@grosours that being said, I always try to attain a certain level of readibility and elegance in the code. the Python manifesto says it well, code is read more often than it is written, so I try to keep that in mind to not solve a problem in too clever a way
@urso I learned readability after years of code in JS. I started my first job as a frontend dev when JS was a pain in the ass and jquery came to save us all. I'm no sure if my code can be elegant when such a language is so messy at its core but sure I know how to make efficient shitty hacks. but this kind of psycho around programming language is a bit biased. It's fun but reality is beyond. I don't code by choice, I just learned to solve problems with the tools I had at some point of my life
@grosours fair enough. I think talking about "elegant code" is somewhat tricky because (to me) people have different understandings of what it means to them. Which is okay, to an extent
I've been writing a Haskell project for the past two months and I've made a choice to not use some of its syntax in some particular places. An odd decision, still not sure if I'll stick to it, but I observed that by not using them the code is more easily understood by those unfamiliar with the language
@urso @grosours I don't know how many times I've changed a map to a loop in perl because map confused my coworkers. But I still consider perl more readable than python simply due to the punctuation. My eyes find brackets and stuff between them easily. Python always looks (and when I have to code in it, feels) like it's unfinished to me. I've done some pretty sizable projects in it a few times (shit, I've even written big projects in tcl) but C-like syntax is basically a requirement for me.
Bear.community is a 18+ only Mastodon server for bears, chubbies and chasers.