They should be related to a #language#technology task, able to be automatically evaluated, with training and test #data able to be distributed to participants at low- or no-cost, and should be fun!
@tripleo#Perl’s “sharp edges” are mainly early syntax and features that later experience with large and networked #programming found dangerous, but are preserved for backward (and we do mean “backward”) compatibility.
See the details of the strict and warnings pragmas, and successively missing items in feature bundles:
@tripleo I would also be remiss not to mention #Perl's included perltrap manual page, which notes both the strict and warnings pragmas and also has nice lists of things for those coming from other #programming languages and tools like #AWK, #C and #CPlusPlus, #JavaScript, #sed, and #shell.
@tripleo You’re thinking of #Perl’s “taint mode” (stop your teenage giggling), where outside data is untrusted unless it’s the extracted subpattern match in a #RegularExpression.
I just finished a productive Copilot session on a complex programming task. I came up with much of the algorithms, and wrote a lot of the code, and had to guide it a lot throughout, but credit where due, Copilot did make small but meaningful contributions along the way.
Overall, not a pair programmer but someone useful to talk to when WFH alone on complex tasks.
Enough for Copilot to earn a ✋🏽. And I like how it responded to that. It has got that part down. 😉
One thing that’s funny about #ai and #programming is I keep hearing the same thing. “Oh I use it for generic snippets, just common tasks and functions”.
The amusing thing about that is when I first started working with a #php app years ago there was already a solution to that problem. It was called “the PHP Cookbook” published by O’Reilly. I was told “oh we buy you a PDF copy and you just search for whatever you are trying to do and use that code. It saves a ton of time for junior programmers.”
Not only was it true, it did save me a ton of time and headaches, but we didn’t need to steal anything. The authors got paid, it worked offline, it didn’t require scraping the entirety of human knowledge to write or nuclear power plants worth of energy to distribute.
It also helped me learn. Since I would have a solid foundation to the solution, I felt more confident experimenting. I always had a known-functioning standard library solution as my base. So when something broke I knew where to start debugging.
Just an incredible thought that instead of paying $20 for a pdf once we decided this was the way to go.
When a programming language's website says it's a "general-purpose language", I already kind of want to not use it, because it probably won't offer anything that I can't get in another language.
I'd like to see a world where every language serves exactly one area of programming, and is highly specialized for that area.
I've been trying to make this work for a few days and finally I achieved it, the most basic form of a wayland client using unix sockets, and well in other languages it was not difficult at all, I did it in hare, c, typescript (deno), and in the end I wanted to try with a language that I had never used, Haskell, and I learned many things but I still don't know what a monod is, anyway, here I leave a link to the code for those who are interested: https://gitlab.com/-/snippets/3711372 #haskell#programming#wayland
Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.
Basic programming language celebrates its 60th birthday
The first Basic interpreter went live in May 1964. This was intended to make it easier to learn programming. However, the computers to go with it were not available until much later.
Basic is the abbreviation for "Beginner's All-Purpose Symbolic Instruction Code". In other words, it is a general-purpose programming language for beginners.
Hey #python experts, what’s the best way to make a single binary on Linux for Linux that I can deploy safely without needing a container? Is it PyInstaller? Nuitka? Bazel? Thanks!