Corso Completo PHP 8 per PRINCIPIANTI (Parte 1)
https://peertube.uno/videos/watch/9414c9ab-40bd-4716-98af-017214fbb10a
Corso Completo PHP 8 per PRINCIPIANTI (Parte 1)
https://peertube.uno/videos/watch/9414c9ab-40bd-4716-98af-017214fbb10a
Just completed day 4 of this year's Advent of Code:
https://gist.github.com/and-kal/da2371872ffc3ca76d998ddc7001a204
Actually a pretty good way to get familiar with a new programming language.
Though that's probably some super inefficient #Lua code and loopy as hell. But I think there's something nice about its #naïveté.
#AdventOfCode #AdventOfCode2024 #proceduralprogramming #ifthen
Okay, you #ATS fans, whom I know to be plentiful! Here is the #RosettaCode task for drawing antialiased straight lines, done in ATS:
https://rosettacode.org/wiki/Xiaolin_Wu's_line_algorithm#ATS
Finally (at least for today), here is a second #Fortran program:
I have added #ObjectIcon --
https://rosettacode.org/wiki/Modular_arithmetic#ObjectIcon
#RosettaCode #ProceduralProgramming
(I will not call this an example of #LogicProgramming, given that I never use goal-direction or failure in any significant way. But #ObjectOriented does apply.)
I just keep going. It is a pretty simple task. I did more than was called for, in the #ATS example I did first.
Here is #Fortran --
https://rosettacode.org/wiki/Modular_arithmetic#Fortran
As with the ATS, I use a macro, although the macro system is not as capable as that of ATS.
(I used the C preprocessor. There was once a standard Fortran preprocessor, but it was removed from the standard. Nobody used it. Everyone used the C preprocessor, m4, or some such.)