Discussion Overview
The discussion centers around the selection of a text processing language suitable for computational physicists, particularly in the context of automating post-simulation analysis. Participants explore various options, including AWK, Perl, Python, Ruby, and Groovy, considering factors such as ease of learning, efficiency, and availability across platforms.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- One participant suggests using AWK due to its availability on Unix systems and its relatively simple C-like syntax, while noting its limitations in error reporting.
- Another participant recommends Perl for its power and quick usability, and mentions Python as a more comprehensive programming language that requires more effort.
- Some participants express surprise that AWK is still in use, indicating a preference for more modern languages like Perl, Python, Ruby, and Groovy.
- There is a mention of the classic Aho, Kernighan, and Weinberger book as a resource for learning AWK, alongside an online reference.
- One participant highlights the usefulness of AWK for specific tasks like file searching and log scanning, emphasizing its associative arrays feature.
- Concerns are raised about the readability of Perl and AWK, with a suggestion that many capabilities are now available in languages like Java.
Areas of Agreement / Disagreement
Participants express differing opinions on the best text processing language to use, with no consensus reached. Some favor AWK for its simplicity and availability, while others advocate for Perl or Python for their power and versatility.
Contextual Notes
Participants mention various programming languages and their features without resolving the debate over which is superior for text processing tasks. There is also an acknowledgment of the varying levels of familiarity and comfort with different languages among users.
Who May Find This Useful
This discussion may be useful for computational physicists and other STEM professionals looking to automate text processing tasks and seeking recommendations on programming languages suited for such purposes.