|
A framework is a library that calls your code. You have to structure your code in specific ways so the framework knows how to call it. Generally they take a huge amount of work off your hands in return for being reasonably inflexible.
An example of a framework would be the Django web framework. The ./manage.py script you use to start the web server calls into Django to handle the command line input, and that's the only command in the management script, control never returns to your entrypoint. Instead, the framework does frameworkey stuff to look at the rest of your code, and calls the bits of it that it recognises in specific scenarios, such as calling a view function when the matching URL conf is matched against a request against the webserver.
Compare and contrast to Dear ImGui, which never takes control. You set up the environment, then you call into the library, it does what it needs to, and returns. Control remains with you, Dear ImGui never has need to call back into your code unless you give it a specific callback, in which case it only calls that.
|
|
|
|
|
Edward Aymami wrote: Am I a hopeless luddite? No, you are someone who draws inferences based on impressions, rather than careful analysis of context.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
And that's why I stay the hell away from web development.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
You and me too! 
|
|
|
|
|
I'm pretty sure ~90% of that stuff gets created as a learning experience for the author. Hell, even the stuff that makes it into mainstream may lack a product vision, growing instead of being designed.
I personally would not consider myself a luddite but I think "do we really need that" more often than "hey, that's some cool new stuff". Actually, I'm a huge tech/software enthusiast. It's just that I'm also a huge fan of use cases, tech solving use cases, not tech for the sake of tech.
|
|
|
|
|
Am I a hopeless luddite?
If you are, then so am I. I develop my own reusable bits and pieces of course (not sure I'd call them frameworks exactly) but I only pull in an external dependency when I really need it. libFLAC is a good example of the that. Wouldn't want to implement it myself! But then, that's not a framework either, just a library.
The only framework proper that I do use as ASP.Net. I use it for the 'code behind' pages on my website, and I think it's terrific.
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
A steep learning curve can be great for learning something useful, and most learning is at least somewhat useful. Also, sharing the project may help others to learn something useful.
I do agree that many projects are best done "the hard way" of doing them by hand, particularly one-time projects, but where's the fun in that?
|
|
|
|
|
|
Are there too many frameworks?
Of course not.
I don't care how many frameworks there are.
I anyway just ignore them all.
|
|
|
|
|
I feel the same way for sure. I occasionally get emails from CodeProject containing links such as Introduction to ELENA Programming Language, which is just completely insane to me. It has 186 stars on github after a direct push to people's email inboxes. It's quite clearly unasked for, unneeded, and dead on arrival.
As a programmer I well understand the itch to strip naked and walk backwards into the sea, writing your own programming language, or compiler, or operating system, or making your own hardware, or whatever, but we're not all Terry A. Davis. Sometimes you should be honest with yourself about your worthless throwaway hobby project being worthless hobby project.
|
|
|
|
|
Asday wrote: your worthless throwaway hobby project
Oh such truth!
|
|
|
|
|
Not sure I wouldn't reword that to be language, library, or framework. If there were no new applications, we really wouldn't need to exist?
To me, it's staying in scope in relation to time. New language? There was a time I'd bite and go down the inevitable rabbit hole of looking in depth. No more as I've seen way too many fade into relative obscurity after never getting any traction. And, I don't have the time. Libraries are of course useful, depending on how well they work and the overhead, both in terms of bloat and how much process modification needed to use it. Frameworks can have the same issues.
I go back to scope. I'm not a luddite, I love to learn new things. After 30 years (yikes), there's not a week that goes by that I'm not learning or using something new. But this isn't a spare-time hobby so if it's not within the scope of the SOW, at best I'll make a note of it for the future.
Are you a luddite? Probably not, just maybe pragmatic or really busy 
|
|
|
|
|
We're Gonna Build a Framework - YouTube
🎵🎵
We’re gonna build a framework,
‘cos we wanna use one, but don’t wanna choose one,
We’re gonna build a framework,
we didn’t like the others, so we’ll write another…
🎵🎵
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
I don't use the frameworks published here, per se. But, I still find them quite valuable.
When I'm here, I'm not looking for a solution, I'm looking for new ideas, different approaches, and novel ways to think about coding.
If I need a solution, I go to GitHub or (in my usual environments) npmjs.com. If I need help, it's google and Stack Overflow.
When I want inspiration, I come to Code Project.
|
|
|
|
|
You are not a hopeless Luddite. You are probably one of the three people left in the World that actually just does 'programming' without frameworks or AI or some other load of nonsense.
|
|
|
|
|
Its a learning site. We all write code and throw it against the wall. Some of it sticks. The real value to me is seeing a different perspective on code. Most of us have had that one teacher that we didn't like and that one teacher that we did bond with. Neither is necessarily wrong, just maybe not right for you. Read code and learn!
Hogan
|
|
|
|
|
Wide ranging actors sent to all! (9)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
BROADCAST
wide - broad
actors - cast
sent to all - def
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
And that means you are up tomorrow!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Sometimes you're just meant to solve these I guess. Even when you come at them bass ackwards.
I got actors as cast right away. Looking at wide ranging I almost immediately thought of the word broadcast. So I had (in my tiny little brain):
Definition: Wide ranging = broadcast
Actors = cast
Sent to all = broad
I realized it was tenuous and backwards but I decided that the ! meant you were playing with the rules. I liked my answer so much I didn't look any harder to see the actual solution. So, I guess I'll paraphrase ThisOldTony's quote in your sig: Mea culpa, but I'm calling it a win! 
|
|
|
|
|
#Worldle #283 3/6 (100%)
🟨⬜⬜⬜⬜➡️
🟩🟩🟩🟩⬜↙️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
first guess was typo
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
a kitten came to my back yard, meowing in the night. this morning my wife found it stays beside our pool pump, no any response.
She then gives it some foods and it starts to eat, this kitten does not trust human and stays alert.
What can I do? we build a small kitten bed. not sure if it will like it...
diligent hands rule....
|
|
|
|
|
Build it a small shelter and put blankets in there. Food and water as well. Keep talking to it and it will eventually realize it has a furever home.
|
|
|
|
|
|
same one...
diligent hands rule....
|
|
|
|