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

Basic Folder Structure #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Basic Folder Structure #5

wants to merge 3 commits into from

Conversation

oeai
Copy link

@oeai oeai commented Aug 16, 2024

if interested, without working code changes

basically you can put here newly changed files and switch to test the compilation
you know sligtly migrate from old structure to a new one

so when you change something you can put some part of code in new file, link it and use the exact chain
old comments left in closed pull requests, thought i've lost it, made a reflog, but it was there (anyway, i guess)

instead of math* you can use logic* /lg
and in terms of logic you can prioritize folders with A-B-C 1-2-3 /Alg /Bmd,
then you can use that a-b-c in code too

oeai added 3 commits August 16, 2024 13:05
implementing architecture stuff
for future code updates
it's a copy of the file, with some changes about defining ports, actually it should be changed in orig file and then moved to folder. For now that filw will work anyway and this file can be split and changed.
@oeai
Copy link
Author

oeai commented Aug 16, 2024

And if you don't know, but you can use classes to use their functions and property changes within all code
so you need to define some class, put some functions there and then use it in many cases, when it needs to use pretty much same code etc . for example

cl_parse.c const char *qw_svc_strings[128] - can be a class with propertties and you will be able to access those while writing code
i mean a lot of code rewrite is possible and it will change it really, i've take random without looking for what it means and works
the way code is written - is perl/php scripting, i mean C++ can do more and better.
and what the ydo with new libs - is just provide you with more and more classes
this means, if you rewrite it well, then it will be possible to use it as libs or add some more libs way easy
then it has potential to grow on a community basis, right now you to see each function workaround with no any standard inside - that's the serialization stuff
basicly it's the implementation of many "include", so you can write "using such class" and system will take it inside any string
so you don't need to bother about where the file is placed really, it is done for you years ago
yes, java also support that, even javascript do, but with less abilities maybe to protect code and everything
i just see it's a mess code, this can't evolve without proper way of writing code.
for example you can protect some properties and it will be less hacky way for whole app and for all too.

@oeai
Copy link
Author

oeai commented Aug 17, 2024

here's a simple similar script code, but with some small changes
https://gist.github.com/oeai/faded32d1684f8806ddb1bfa9e7a5002
in this part i leave all other functions working as it was, but just optimize the routine and then i can use any
it's not a class, no any properties, but when i see routine code, i think it can be changed
and if you did one part, you can go for more
in C++ you can enhance it with properties and just make selection with function.proper_value
but you got to write it first and then you can call few functions at once (and in threads) to do some.
i see that you have disabled threading for all, while you can just put a checkbox in gui
and you know that there are different system hw, so you can put threads at least on that level
and server side needs that much more prob to work with sockets vs buffers you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant