News for hackers. Stuff that matters.
Re:AutoHotkey v2 Official Release Announcement by 2Gkashmiri on Saturday January 28, 2023 @11:59PM (#34565103)
Coming from an ahk user circa 2010, I have never been able to wrap my head around pythons insistence on indentation. Ahk let's me type whatever however and it just works.
Re:AutoHotkey v2 Official Release Announcement by jdrek1 on Sunday January 29, 2023 @06:49AM (#34567227)
Honest question, why? If you properly format your code then it's indented anyway so Python is basically just replacing `{` with `:` and then not having a `}`. Python is the least problematic of all the languages enforcing some style things. Go insisting on Google's stupid styleguide is just dumb, Lisp having the parentheses on the wrong positions and ignoring the fact that there is more than one bracket type available is dumb, all the languages with `END` blocks are dumb because `{ ... }` is much shorter and cleaner, ... . Python has its annoyances too but indentation really isn't a problem - it's there already anyway.
Re:AutoHotkey v2 Official Release Announcement by 2Gkashmiri on Sunday January 29, 2023 @12:00PM (#34570043)
as i said, i am not a dev so i never learned "convention"....

AHK let me scrap whatever script from internet or i could come up, throw them in notepad and it would work.... now, python makes you "properly indent" which coming from AHK makes my head explode

https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...

this is a good example. AHK would read this normally but no, python sees whitespace and wants to "use that"....

https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...

this would never happen on AHK so it makes me mad.

part of the reason why i have never gotten hold of python while i can whip up an AHK script in my mind

Re:AutoHotkey v2 Official Release Announcement by jdrek1 on Monday January 30, 2023 @11:17AM (#34581804)
Fair enough, I can see that this is something which can easily throw you off if it isn't part of your normal workflow.