Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ER: Investigate use of TypeScript #6805

Open
2 of 7 tasks
roslynwythe opened this issue May 2, 2024 · 4 comments
Open
2 of 7 tasks

ER: Investigate use of TypeScript #6805

roslynwythe opened this issue May 2, 2024 · 4 comments
Labels
Complexity: Large Dependency An issue is blocking the completion or starting of another issue ER Emergent Request Feature: Infrastructure For changes on site technical architecture manual dependency release role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours

Comments

@roslynwythe
Copy link
Member

roslynwythe commented May 2, 2024

Dependencies

  • homepage launch
  • research team doing research on usage of js vs typescript in cs grads and bootcamps

Emergent Requirement - Problem

We should explore the possibility of converting our JavaScript code to TypeScript

  • TypeScript is a strict syntactical superset of JavaScript and adds optional static typing and class-based object-oriented programming features to the language.
  • TypeScript allows developers to write more maintainable and scalable code by catching type-related errors at compile-time instead of runtime
  • It also provides better IDE support, code completion, and refactoring tools, making development more efficient.

Issue you discovered this emergent requirement in

Date discovered

Did you have to do something temporarily

  • YES
  • NO

Who was involved

@roslynwythe

What happens if this is not addressed

We won't benefit from the code quality and development improvements offered by TypeScript and won't gain experience with the language, which continues to gain adoption.

Resources

typescriptlang.org
TypeScript adoption trend

Recommended Action Items

  • Make a new issue
  • Discuss with team
  • Let a Team Lead know

Potential solutions [draft]

Items to consider in the analysis:

  • impact on folder structure
  • impact on build (GitHub and Docker)
  • impact on VS Code configuration
  • frontend code vs. backend code (used in the context of GHA)
@roslynwythe roslynwythe added Feature Missing This label means that the issue needs to be linked to a precise feature label. size: 0.25pt Can be done in 0.5 to 1.5 hours ER Emergent Request role missing Complexity: Missing Complexity: Medium labels May 2, 2024

This comment was marked as outdated.

@roslynwythe roslynwythe added size: 1pt Can be done in 4-6 hours role: front end Tasks for front end developers role: back end/devOps Tasks for back-end developers Feature: Infrastructure For changes on site technical architecture Ready for Prioritization and removed Feature Missing This label means that the issue needs to be linked to a precise feature label. size: 0.25pt Can be done in 0.5 to 1.5 hours role missing Complexity: Missing labels May 2, 2024
@tony1ee
Copy link
Member

tony1ee commented May 2, 2024

If we do decide to change to TypeScript, it's a good time to also Adopting a coding style standard/guideline #6807

@ExperimentsInHonesty
Copy link
Member

@roslynwythe @tony1ee I have added this to our next dev/pm agenda.

@ExperimentsInHonesty
Copy link
Member

Moving to icebox and adding dependencies

@ExperimentsInHonesty ExperimentsInHonesty added Dependency An issue is blocking the completion or starting of another issue and removed Added to dev/pm agenda labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Large Dependency An issue is blocking the completion or starting of another issue ER Emergent Request Feature: Infrastructure For changes on site technical architecture manual dependency release role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours
Projects
Development

No branches or pull requests

3 participants