Questions tagged [modules]
A logical subdivision of a larger, more complex system.
119
questions
5
votes
1
answer
415
views
Noughts & Crosses (tic-tac-toe) revisited (using C++20 modules)
This is a development of Nought and Crosses (tic-tac-toe) in C++ a learning project in C++. This time using C++20 modules. As before, any suggestions on improvements in style, clarity (or anything ...
1
vote
1
answer
190
views
Version 2 of my Python Password Manager
I am still just starting out with python and just finished learning about classes, with no further understanding on many python modules. With this in mind, this is one of the biggest/hardest things I ...
4
votes
2
answers
249
views
Test generator I made for practice
Made this generator to practice using imports from other modules and better readability for coding. What could I have done better and what did I do wrong?
File called test_generator.py
...
1
vote
0
answers
182
views
Restaurant Management follows MVC pattern
I am writing the Restaurant Management homework which must be following the MVC pattern. My Menu model has two parts: Drink menu and Food menu.
With Food menu, it separates into three different types ...
2
votes
1
answer
134
views
Program for creating custom directory listings
The following code was written to create custom directory listings for the Abyss Web Server. It attempts to provide an improved example of the included documentation for doing so in Python. However, ...
1
vote
2
answers
83
views
UPDATE on Newspaper Bill Calculator CLI with Python (1 of 3, Core)
Code is posted after explanation.
Due to the size of the project, this is being posted in three separate posts. This also ensures each post is more focused.
Post 2 of 3, CLI: UPDATE 1 on Newspaper ...
3
votes
0
answers
87
views
Tic-Tac-Toe Backend for Commercial Use
I've been working on a tic-tac-toe backend for an interactive commercial-use display, and was wondering if I could get some feedback on it?
...
1
vote
1
answer
126
views
Organizing things together to form a minimum viable Scraper App
This is a follow-up of my group of scraper questions starting from here.
I have thus far, with the help of @Reinderien, written 4 separate "modules" that expose a ...
4
votes
0
answers
56
views
How to structure and write exchangable calculation models (in python3 modules)?
I do research and compare different numeric models to each other. Therefore, I want to easily switch out the numeric models in my simulations and evaluation code.
Some models work in cartesian ...
3
votes
0
answers
111
views
Weather app using es6 modules
i have recently built this simple weather-app.
I would be happy to get some criticisms to improve my code.
Structure:
app.js:
...
3
votes
1
answer
106
views
All core MediaWiki upgrade script (round 2)
The following script upgrades an existing, all core (no add ons) MediaWiki install. I run it with set -x for debugging (I avoid ...
5
votes
1
answer
185
views
Express.js blogging application
I have put together a blogging application with Express, EJS and MongoDB.
There is a public, front-end part and a dashboard. In index.js I have:
...
2
votes
0
answers
235
views
naming convention for atomic design
We follow atomic design principle. More here
I have a react app where we put small components like button, label etc and call it atoms.
In that I have made loading and Error component responsible for ...
4
votes
1
answer
348
views
Modular Design Patterns in C
I have created a modular design pattern which provide a single interface that can be used create instances with swapable back-end components, however I'm not entirely satisfied with it.
My practical ...
2
votes
1
answer
86
views
To Do List Project - app lets you make projects and inside of this projects you can save to-dos
I have built a To Do App in Javascript, using Webpack and some modules. The app lets you store projects (School, Sport, Grocery, etc.)... And inside these projects, you can store todo items... You can ...