News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by theshrike79 on Wednesday July 16, 2025 @06:26AM (#44580628)
With python you can just go: 'print "hello, world!"' and that's a full-ass program

You run it by saying `python hello.py`.

Compare that to the amount of crap you need(ed) with 2005 Java just to have something running.

The shittiness of ActivePython and generally getting python to run on Windows were a bit of a hurdle, but still it was easier than the competition

Re:I'm Switching to Python and Actually Liking It by taeric on Wednesday July 16, 2025 @11:16AM (#44583214)
I mean, it isn't like you couldn't get similarly terse scripts in other languages. Common LISP, as an easy example people love to beat up on.
Re:I'm Switching to Python and Actually Liking It by nottorp on Wednesday July 16, 2025 @12:45PM (#44584338)
You could, but then they deprecated the paranthesis less form in 3.x :)
Re:I'm Switching to Python and Actually Liking It by icedchai on Wednesday July 16, 2025 @03:10PM (#44585772)
Sure, but you could've done the same thing with perl in the 80's and 90's.
Re:I'm Switching to Python and Actually Liking It by theshrike79 on Thursday July 17, 2025 @09:03AM (#44592905)
You could also accidentally summon an Ancient One while trying to write a regex :D

Perl is a fine language, but it's like using a wood chipper with no safeties. It takes extreme care and know-how to use it without splattering ASCII everywhere and making an unmaintainable write-only mess.

For every beautiful and maintainable perl program (mostly irssi scripts) I've seen 99 abominations that are quicker to rewrite completely than decode wtf they are doing.

Re:I'm Switching to Python and Actually Liking It by icedchai on Thursday July 17, 2025 @09:13AM (#44593030)
True, true. I remember writing full blown applications as perl CGI scripts, back in the day. I should see if I can dig up some of that stuff.