DISQUS

Ben Atkin's Weblog: Common Lisp: First Impressions

  • Zach Beane · 3 years ago
    It's not commonly bad style to have a function and variable sharing the same name. If "list" is the best name for a variable, CL programmers don't hesitate to use it. When writing an automobile-related application, they wouldn't hesitate to use CARs all the time.
  • benatkin · 3 years ago
    Good point. After reading your comment I realized that I used "list" as an argument in my own code. It's nice to not have to worry about an argument shadowing a function or macro in Common Lisp.