According to the viewpoint of online software engineering:
https://bbs.csdn.net/topics/100114600 , the test and debugging time accounts for 30% ~ 40% of the time. Therefore, faster debugging output speed is very necessary. At present,, the ahklog. Info() function in ahkv1.ahk needs to enter the variable name manually twice, and ahkv1 needs faster debugging output speed. For example:
Code: Select all
aaa := "123"
ahklog.info("aaa: ", aaa)
But in c#, it needs only one time:
public static void printvar(string var_name)
{
string tips = nameof(var_name);
Console.WriteLine(tips + " is: " + var_name);
}
string aaa = "123";
printvar(aaa);
Printvar (aaa) in c#; Compared with ahklog.info ("aaa:", aaa) in ahkv1, it saves typing one time of an aaa variable, which is faster and less error produced.