Eggs-D-Studios / wos-issues

Waste of Space bugs, suggestions, and other feedback
10 stars 0 forks source link

Microcontroller built in :GetAsync() function, to simplify code organization. #561

Open cbuc1111 opened 1 week ago

cbuc1111 commented 1 week ago

Guidelines

Version

Main (Production)

Topic

A programming feature (e.g. APIs, tweaks, changes, etc)

Why are you making your suggestion?

Code in microcontroller can't be splitted at modules, and requires write all project code in one file. When it goes to small projects that's not an issue, but when you doing some massive project is really an issue.

To fix that, (at least I) using modem GetAsync to require code modules (as classes or function) from gisthub/github. BUT, for each project I need to attach GIGANT modem to my microcontroller, which takes a lot of space.

It gonna replace modem? - No, that's just an basic built in function which gonna simplify organization of some code projects. Modem still has much of unique methods, so it still gotta have a lot of purpose.

How is it explained Actually, let's say microcontroller have got small and simple ethernet module in it. Same one which it uses to require code from links (when you pasting link in Microcontroller.Code instead of raw code).

On my opinion this is pretty balanced, and gonna simplify overral code organization. Same time for balancing devs can remove any ability to configure other GetAsync() arguments, as "headers" for example. So that's it.

What do you propose? What should change, or what should be added?

Microcontroller should get built in "GetAsync" function. (Microcontroller:GetAsync())

hail12pink commented 1 day ago

requiring modules from web is a considered idea iirc