Talk:ASH For Beginners: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
No edit summary
imported>Heeheehee
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 13: Line 13:


Also, just to be clear; this is a wiki, so don't feel bad about things changing and getting changed back, etc. ad nauseum. Unless you're a spam-bot. ;) --[[User:StDoodle|StDoodle (#1059825)]] 11:26, 27 July 2010 (UTC)
Also, just to be clear; this is a wiki, so don't feel bad about things changing and getting changed back, etc. ad nauseum. Unless you're a spam-bot. ;) --[[User:StDoodle|StDoodle (#1059825)]] 11:26, 27 July 2010 (UTC)
Is there a syntax highlighting language model for BBEdit/TextWrangler for the Mac?  Does anyone want one?  They're pretty simple to make...--[[User:Mcroft|Mcroft]] 20:37, 11 November 2010 (UTC)
There's [http://kolmafia.us/showthread.php?4185-syntax-highlighting-for-TextWrangler this] one, but it's kinda out of date. You'd basically just have to manually edit in a few functions. --[[User:Heeheehee|Heeheehee]] 21:08, 11 November 2010 (UTC)

Latest revision as of 21:08, 11 November 2010

Holy Moley! You actually started it, StDoodle! Way to GO! --Bale 22:43, 28 April 2010 (UTC)


Your recent edit is completely wrong; I would have reverted it, except that the reason field wasn't big enough to explain just how it was wrong.

ALL values in ASH are passed and assigned in a completely uniform manner, regardless of type. That manner could either be referred to as "call by value" or "call by reference"; the two concepts aren't distinct here, since all ASH values are references to some object. No copying is ever done, except as part of an implicit type conversion.

You appear to be confusing the concepts of call type and mutability. There's no difference in how (for example) a map and an int value are passed; the observed differences in behavior are entirely due to the fact that there are ways to modify the contents of a map (with it still remaining the same map), yet no ways of modifying the value of an integer. The closest you can come is to produce a new integer value, and assign it to the same variable that formerly held the old value; it is the variable that is changing, not the value. --Jasonharper 05:49, 27 July 2010 (UTC)

First, for Jasonharper: Don't hesitate to make such changes when they're wrong. If more explanation is needed, the discussion page for the relevant page is a good place. If you don't have time / energy for explanations, feel free to just say "will explain later" and that's good. Hell, you don't even need reasons; you and V are considered the finall authorities on mafia, as you're the most active in, you know, making it exist. This isn't the guideline for most users, but you & V have a special place in the hierarchy. Since fewyn provides hosting, anything that affects his ability to keep this site going is priority #1. After that, all factual information given by you or V is simply not up for dispute. (Well, discussion on talk pages is welcome, but I won't tolerate edit / revert wars; if one of you says something isn't correct / needs changing, that's how it is.) Then come admins, then everyone else, as far as editing priority goes. The long and short is that the official policy is that if you or V says something needs to be changed, or you actually make said change, you don't have to worry about reverts; even if you don't have time to explain the reasoning at the moment.

Also, regarding the information that was edited: Even had it been correct, it's really beyond the scope of a "for beginners" page, IMO. I'm all for adding an "Advanced ASH Language Specifications" page or similar, for those behind-the-scenes, nitty-gritty details as to how ASH works, but I don't think the beginner's page is the best place for said info. However, if anyone would like to make said advanced-info page, please feel free.

Also, just to be clear; this is a wiki, so don't feel bad about things changing and getting changed back, etc. ad nauseum. Unless you're a spam-bot. ;) --StDoodle (#1059825) 11:26, 27 July 2010 (UTC)


Is there a syntax highlighting language model for BBEdit/TextWrangler for the Mac? Does anyone want one? They're pretty simple to make...--Mcroft 20:37, 11 November 2010 (UTC)

There's this one, but it's kinda out of date. You'd basically just have to manually edit in a few functions. --Heeheehee 21:08, 11 November 2010 (UTC)