Decide on a language to use for the project #1

Closed
opened 2022-04-19 20:49:22 +00:00 by j · 1 comment
Owner

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'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?
j added the
question
label 2022-04-19 20:49:22 +00:00
j self-assigned this 2022-04-20 03:21:09 +00:00
gcastro was assigned by j 2022-04-20 03:21:10 +00:00
Author
Owner

I guess we're using C++!

I guess we're using C++!
j closed this issue 2022-04-23 02:43:34 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: j/4600-project-2#1
No description provided.