DTrace style: As there is no idiomatic defined ground rules for how to do style D code I will use this topic for proposals for how to make D more usable. Nothing set in stone- always room for improvements. Suggestions are welcome.
-
Show this thread
-
D have no way to name the arguments for a given syscall hook. They can only be accessed through the args array. I suggest the following style to enable naming of arguments:pic.twitter.com/0JKksOypTP
1 reply 0 retweets 2 likesShow this thread
Before this I copy pasted the information into the source- why not define aliases at the same time? Relevant structures can be shown as comments without taking up additional space with this layout.
9:04 PM - 1 Feb 2021
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.