Talk:Letter frequency: Difference between revisions

(More AppleScript "generic" alternative discussion.)
Line 134:
 
::I won't discuss this any further as I see you've had similar exchanges with practitioners of other languages on this site and are not to be budged from your conviction. I'm also aware that I'm in your debt for having dropped me a few hints when I first started posting here a couple of months ago, for which I couldn't at the time work out how to post my thanks. Thanks here if it's not to late. :) --[[User:Nig|Nig]] ([[User talk:Nig|talk]]) 18:51, 13 April 2020 (UTC)
 
::: My pleasure, and I should have thought to warn you about the 80 character norm, which would help legibility, particularly with your excellent and generous comments.
::: On the other issues, well, disagreement and varying approaches are the life blood of Rosetta Code.
::: To quote from the landing page, the idea is not only ''to demonstrate how languages are similar and different'' but also to ''aid a person with a grounding in one approach to a problem in learning another'',
::: So the more we disagree, the more useful material and revealing comparisons we can generate :-)
::: No amount of iterative programming with sequence branches and loops, even for fifty years, will ever introduce us to even the basics of maps, folds, or monadic compositions, or enable us to reframe from 'doing' to 'defining', so the notion of ''Even an experienced AppleScripter ... XYZ ...'' probably looks a bit less rational to me than it apparently does to you, but the only really useful commentary is just an alternative draft.
::: As Knuth famously puts it, ''premature optimization is the root of all evil'', but if I did want something faster for macOS scripting, my comment on your AppleScript draft would probably just be the JavaScript ES6 draft (on this page) which uses the macOS Automation library for the file access.
::: (Just a few lines of unoptimized new code, and on this system it gives counts for each character ''les Miserables'' in well under a second. I would feel ashamed of myself if I wasted any time on thoughts of further optimizing that :-)
::: Keep well, and enjoy the coding ! [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 18:17, 14 April 2020 (UTC)
9,655

edits