4 ms·
Perl is just C with less type safety. And yes, for the most part. C++ as simple shorthand for struct-attached functions and automatic memory management (no, no
by ahknight 8d ago
Perl is just C with less type safety.
And yes, for the most part. C++ as simple shorthand for struct-attached functions and automatic memory management (no, not smart pointers; RAAI) is good. Every single thing added after that is misery and should push a modern developer to Rust, Go, or Zig (roughly in that order) where such things are implemented sanely or not at all.
- joas_coder 7d ago[dead]
- stvltvs 8d agoFunny I think of Perl as Bash with slightly saner syntax plus robust regexp. (said with love)
- ahknight 8d agoThis is also fair.
- hnlmorg 8d agoThe only thing Perl and C have in common is the curly-brace.
- ahknight 8d agoAnd direct access to system calls. And the uncanny ability to look like it's going to do what I want and then five minutes into a run wind up in a small town in Arkansas blind drunk and crying vaguely about fluffy red squirrels taking its sandwich.
- cwnyth 8d agoBut it adds to the charm.