Affiliation:
1. Centro Nacional de Conservação da Flora—CNCFlora, Instituto de Pesquisas Jardim Botânico do Rio de Janeiro , Rio de Janeiro, 22460-030, Brazil
2. Diretoria de Pesquisa Científica—DIPEQ, Instituto de Pesquisas Jardim Botânico do Rio de Janeiro , Rio de Janeiro, 22460-030, Brazil
3. Embrapa Recursos Genéticos e Biotecnologia, Parque Estação Biológica–PqEB , Brasília, 70770-901, Brazil
Abstract
Abstract
Object-oriented programming (OOP) embodies a software development paradigm grounded in representing real-world entities as objects, facilitating a more efficient and structured modelling approach. In this article, we explore the synergy between OOP principles and the TypeScript (TS) programming language to create a JSON-formatted database designed for storing arrays of biological features. This fusion of technologies fosters a controlled and modular code script, streamlining the integration, manipulation, expansion, and analysis of biological data, all while enhancing syntax for improved human readability, such as through the use of dot notation. We advocate for biologists to embrace Git technology, akin to the practices of programmers and coders, for initiating versioned and collaborative projects. Leveraging the widely accessible and acclaimed IDE, Visual Studio Code, provides an additional advantage. Not only does it support running a Node.js environment, which is essential for running TS, but it also efficiently manages GitHub versioning. We provide a use case involving taxonomic data structure, focusing on angiosperm legume plants. This method is characterized by its simplicity, as the tools employed are both fully accessible and free of charge, and it is widely adopted by communities of professional programmers. Moreover, we are dedicated to facilitating practical implementation and comprehension through a comprehensive tutorial, a readily available pre-built database at GitHub, and a new package at npm.
Publisher
Oxford University Press (OUP)