Decide on a language to use for the project #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've recently been working on a project for my Capstone course that requires we use Typescript, and in the course of that project, I've been introduced to ECMAScript-syntax regular expressions.
I'd like to use these to read data from the file
In C, regular expressions are a downright pain in the ass, and C is generally unforgivable for its crimes against standardization.
In C++, regular expressions are fairly usable, but evaluating them allocates memory on the heap, which I'm fairly certain, but not entirely so, is deallocated when the associated variable falls out of scope (or else what is RAII for?)
In Python 3.6, (the version installed on the CSE machines,) regular expressions are fairly easy to use and evaluate, but matching can return tuples, which are just a bit harder to deal with (as they have to be explicitly checked for.) Python 3.10 introduced a new matching syntax which would make this much easier, but the functionality is not included on the CSE machines, so we're SOL there.
I'd like your opinions on language of choice for this project. What's your favorite language?
I guess we're using C++!