All Questions
Tagged with library object-oriented
24 questions
3
votes
1
answer
101
views
Designing Multiprocess signaling and communication
Originally I meant to discuss my entire project on stepper motors for Raspberry Pi. But I see that's out of scope. If you'd like to provide high level feedback, welcome to do so in github.
The lack of ...
11
votes
0
answers
364
views
Host-Agnostic Model-View-ViewModel Infrastructure
I've written an API that unlocks some serious MVVM capabilities with VBA's MSForms UI framework.
This is the complete code-behind for an example ...
1
vote
1
answer
745
views
GeekTrust: Tame of Thrones OO
I am trying to solve a problem on GeekTrust, called Tame of Thrones (here)
Shan, the gorilla king of the Space kingdom wants to rule all Six
Kingdoms in the universe of Southeros.
There is no ...
1
vote
1
answer
76
views
PHP library that can use different authentication mechanisms
I am making a library which can use different auth mechanisms. I have abstracted the code within an interface:
...
4
votes
4
answers
2k
views
Initialized Array Template Class (C++)
The problem
We want to use a very large array for some computations. When created, all the elements of this array have to be initialized to some value. We'll only use a few values from the array1,...
4
votes
2
answers
1k
views
PHP Autoloader - For classes, traits and interfaces
Please review my Autoloader, which is the first file included in index.php
Note that there is no resource with the same name for trait, interface and class. Each resource has it's own name. And even ...
8
votes
1
answer
325
views
Object-Oriented Sorting Algorithms
I would like a review of a library I've recently published. I realize this is a rather large request, but having looked on meta, it seems this is perfectly on-topic. I'll include a few choice samples ...
0
votes
1
answer
1k
views
C# API Wrapper with Static Function Calls
I'm creating a wrapper library for an API, and I hit a block on how to redesign it. The entire library is static, and I'd like to change it to make it more testable.
The library's goal is to make ...
8
votes
1
answer
2k
views
Wrapping libusb library in C++
I want to use libusb library in my C++ application. I have created classes which wraps libusb functions. You can see that libusb API is split into 8 sections:
http://libusb.sourceforge.net/api-1.0/...
3
votes
1
answer
114
views
7
votes
1
answer
131
views
Designing a toy dependency injection library
Just for learning purpose I thought to write a simple and useful dependency injection service which would just do dependency injection but also it should expose its core too which would let the client ...
3
votes
1
answer
734
views
A module to make JSON in Python easier
I recently wrote the livejson module as a way to make working with JSON in Python easier. The idea of the module is that you initialize a livejson.File, and then ...
2
votes
1
answer
171
views
My library for 2 dimensional shapes
This is my first OOP PHP library and wanted to get advice on how I can improve what I wrote. This is what I needed to do:
I'm also not sure on what it meant by "proportionally resize the shape up or ...
11
votes
1
answer
2k
views
Framework to track changes and relationships in C#
Recently, I wanted to see how I might could track state changes to objects, and manage relationships (1 to 1, 1 to N, N to N) between types in C#. This was a really interesting project, and I'm ...
4
votes
3
answers
2k
views
Solidworks EPDM add-in
I need to expand the functionality of this project to encompass more commands (you may notice in GetSelectedFilePaths() I have a case that is not currently used, ...