# SSaaS … huh… what?

On James Cuff’s blog, a nice post about utilization of software.
In it he writes:

plus all the cool kids now use python and not a lot of perl, perl5mods was pulled in 3,574 times in comparison to 59,438 lots of python…

to which I say …

Seriously … I gave up on the indentation as a form of program structure when I stopped doing much Fortran. Sheesh.
Whats next … everyone using BASIC, with a little OO wrapper, a JIT, and an LLVM backend to run on GPUs (with a VHDL conversion tool)?
I should note that I was debating whether or not to use references to Wiley E Coyote, supergenius as a portion of the rent-a-smarty concept, but I don’t think everyone would have gotten this reference … so here is a snippet

### 3 thoughts on “SSaaS … huh… what?”

1. Don’t tell me you don’t use indentation with Perl!

2. @Peter
Here’s some code I wrote a long time ago …
 #!/usr/bin/perl @s=qw(0000 0010 0001 2001 0210 0201 2201 0410); @c=qw(765321 36 76421 76431 5463 75431 754321 763 7654321 765431 ); $l=shift;$h=0;$p=""; foreach$t(split//,$l) {foreach$i(0..2){foreach$j(0..4){$d[$j][$i]=" ";}}; foreach$e(split//,$c[$t]) {($x,$y,$i,$j)=split//,$s[$e];foreach$o(0..2){$d[$y+$o*$j][$x+$o*$i]="#";};} foreach$r(0..4){undef $u[$r];foreach$v(0..2){$u[$r].=$d[$r][$v];}} if($h){$p=" ";}else{$h=1;} for($j=4;$j>=0;$j--){$r=join("",$f[$j],$p,$u[$j]);$f[$j]=$r;}} for($j=4;$j>=0;$j--){print $f[$j],"\n";}
Indentation? We don’t need no steen-keen indentation!

landman@crunch-r:~$./led.pl 100 # ### ### # # # # # # # # # # # # # # # # ### ### landman@crunch-r:~$ ./led.pl 1234
# ### ### # #
#   #   # # #
# ### ### ###
# #     #   #
# ### ###   #
landman@crunch-r:~\$ ./led.pl 12345678
# ### ### # # ### ### ### ###
#   #   # # # #   #     # # #
# ### ### ### ### ###   # ###
# #     #   #   # # #   # # #
# ### ###   # ### ###   # ###


This was for a code golf bit.
Ok, more seriously, I do indent to show structure, but not to enforce structure.

3. “I do indent to show structure, but not to enforce structure.”
Heh. Just like you used to do in Fortran. 😉