Earlier quoted context omitted.
It started around two decades ago, but I would say the "use strict if at all possible or you're doing it wrong" consensus was reached at least as long ago as 2005, being conservative. Because backwards compatibility was always seen as paramount, it never became default , but if you opted into new version features by version number[1], those advanced to enabled both new features and to turn off or warn on use of what…
Thanks for that answer, very interesting to know as someone who feels like they got into perl pretty late in the game. I do appreciate it where it works for sure. I could definitely picture programming in perl in the 90s before people commonly implemented use strict; being a complete hellscape though
93% of Paint Splatters Are Valid Perl Programs (2019)
131–140 of 170 posts
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#132Earlier quoted context omitted.
tbh, I'm still sad that Python won against Perl during the heyday. Perl was and is still a fun language.
Perl is cool but it's got a hell of a lot of cryptic operators for its syntax. They make sense after you learn them but for beginners it's clear why python gets picked up way easier. They're not having to think in symbols and stuff, it just looks more like a list of instructions rather than a mess of dollar signs and 'my' (my what? just not retrospectively intuitive...) That said I like perl (And lately, awk/sed) a l…
Perl is complex, but it is also rewarding when you use it for those tasks it's good at (like gluing code together and text processing).
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#133Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#134Earlier quoted context omitted.
Don't take attacks on a tool you like as an attack on you. This is rarely ever the intention, and I'm 100% certain wasn't the intention of the poster here. The tools you use shouldn't be your identity. Chill.
One person’s tool is another person’s livelihood, the corner stone of their professional experience, and the basis by which other people will (apparently) judge their technical expertise
You lost me here. Even if someone thinks that Perl is an unholy abomination to work with, it doesn't follow that those with expertise in it are less skilled. If anything, it seems like it implies the opposite: expertise in it is harder. The counterpart would be something like claiming that Python is a toy language, simple to use but not suitable for Real Work. This claim is the exact opposite as the Perl complaint, and it seems like _that_ would imply negative things about expertise in the language.
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#135Earlier quoted context omitted.
One person’s tool is another person’s livelihood, the corner stone of their professional experience, and the basis by which other people will (apparently) judge their technical expertise
Exactly. I feel your pain. I write software for Apple systems. It’s modern, high-quality code, but it’s for Apple. There are people that have never met me, and have never had any prior interactions with me, that hate (and that’s not hyperbole) me; simply because of that one fact. I’m constantly reading stuff about Apple, and people that use/like/support/develop for Apple, that is intentionally insulting and demeaning…
There are people that have never met me, and have never had any prior interactions with me, that hate (and that’s not hyperbole) me; simply because of that one fact.
I'm fascinated to hear this. I quite dislike Apple quite a bit as a company/entity, for a variety of pragmatic and philosophical reasons, but the idea that that would extend to their employees (let alone those working on their platform) is wild to me.
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#136Earlier quoted context omitted.
Why do people post nasty things like this?
Why does it feel like HN has become so incredibly sensitive? I have been reading comments here a while (13 years I think), and noticed that in the past couple of years is when critical of any piece of software, no matter how warranted or how tongue in cheek, results in comments like this. How would you have phrased the original sentiment that you wouldn’t think was nasty?
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#137Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#138In university, I learned Perl out of curiousity. It was the first scripting language I tried; I was only familiar with Java, C and Scheme at the time. After reading Programming Perl from cover-to-cover, I suddenly felt like I had superpowers. I probably would have felt the same if I'd taken the time to learn bash scripting, but that's not how it worked out. I tried to automate everything in my life with Perl. I'd wal…
That is what bash/pipeline programming felt like for me the first time I mastered it. I missed the Perl boat by a few years, riding the Python2/Java wave at Uni instead, but I did encounter it a few times in legacy (read: 5-years old) code and could only marvel at its string manipulation capabilities. I like to think of it as the extended bash that I never took the time to learn
Is there something about gaining scripting power that requires such poor usability? I resisted it for a while, but I just write all my workaday scripts in Python now, and I'm honestly a little baffled as to why I stuck with bash for so long.
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#139This is obviously just a bit of fun, but looking at the output examples, I think the OCR used may be flawed in that it's heavily optimised to produce characters used in natural language (alpha & spaces) rather than to produce e.g. operators common in code. The number of "special characters" output is extremely small. This will bias it heavily toward producing identifiers, which will be valid in most common programmin…
Re: 93% of Paint Splatters Are Valid Perl Programs (2019)
#140I feel bad about upvoting this given that I kind of agree with the tweet that this sort of responds in an inappropriate tone to (if you resonated with the message).
Is programming a purely vocational skill to you? Do you not find it fun? Exciting? Interesting?