News for hackers. Stuff that matters.
Re:Things I've learned building a modern TUI framework by agentwiggles on Wednesday August 03, 2022 @01:13PM (#32334384)
Power is the amount of work done over a period of time, so even if you can do the same exact set of things with a mouse and keyboard, if the keyboard is faster at doing them, it's more powerful.

You can do all your text entry by clicking keys on an on-screen keyboard if you like, but saying that a physical keyboard is a more "powerful" way to enter text seems reasonable to me.

(sorry in advance, I know this is needlessly "well ackchually" lol)

Re:Things I've learned building a modern TUI framework by zasdffaa on Wednesday August 03, 2022 @01:21PM (#32334486)
> but saying that a physical keyboard is a more "powerful" way to enter text seems reasonable to me

No. It's faster and that's all. So call it by that word which is very precise.

If you say 'power' = 'speed' then you've destroyed the meaning of one of those words, just for the modern habit of co-opting a fancier word for a simpler one. I'd prefer people didn't do that, and differentiated 'speed' from a thing you call power which indicates "I can't do that at all, at any speed".

If you don't like bullshit marketing and PR, don't follow it.

Re:Things I've learned building a modern TUI framework by Sparkle-san on Wednesday August 03, 2022 @02:50PM (#32335421)
If we go by the physics definition power is work over time, so the same work over a shorter time is by definition more powerful. I don't think applying that term to software is inherently wrong.
Re:Things I've learned building a modern TUI framework by bob29 on Thursday August 04, 2022 @12:00AM (#32339214)
by the physics definition work is kilograms * meter^2 / sec^2 what computer users do on a computer is not work in the physics sense, maybe in the economic sense
Re:Things I've learned building a modern TUI framework by agentwiggles on Wednesday August 03, 2022 @07:05PM (#32337514)
I didn't say "power = speed", I said power is work over time, which is the actual definition and supports the rest of my post. You're the one redefining "power".

Again, I fully acknowledge this is nitpicky to the point of absurdity and we're arguing semantics. But if we're gonna argue semantics, then the definitional meaning of power is on my side.

Re:Things I've learned building a modern TUI framework by clucas on Wednesday August 03, 2022 @01:38PM (#32334686)
Interesting, so do you avoid describing one programming language as being "more powerful" than another? They're all Turing complete, after all... it's just a question of how fast you can develop in one, right?
Re:Things I've learned building a modern TUI framework by zasdffaa on Wednesday August 03, 2022 @01:56PM (#32334910)
Good question, 'power' I reserve for turing completeness (some aren't, such as SQL before recursive CTEs were added, and... well, here's a list https://iq.opengenus.org/non-turing-complete-programming-lan...)

For "how much crap do I have to write to get it to do something", I call that expressivity. Scala is more expressive than fractran (I guess...).

Re:Things I've learned building a modern TUI framework by clucas on Wednesday August 03, 2022 @02:11PM (#32335072)
Sounds like you are consistent with your usage of terms, and I understand the logic and the motivation.

I would just caution that it's fairly idiosyncratic - plenty of people out there don't use the word "power" the way you do. For example, here is how Paul Graham talks about the "power" of programming languages: http://www.paulgraham.com/avg.html

Just saying, as consistent as your definitions are internally, being too rigid about it may hinder your ability to communicate with others in the field. Good luck buddy <3

Re:Things I've learned building a modern TUI framework by zasdffaa on Wednesday August 03, 2022 @02:25PM (#32335202)
Thoughtful reply and it is much appreciated dude, take care!
Re:Things I've learned building a modern TUI framework by robertlagrant on Wednesday August 03, 2022 @02:56PM (#32335492)
What's the case for power equals Turing completeness over power equals speed of development?
Re:Things I've learned building a modern TUI framework by jjav on Wednesday August 03, 2022 @10:05PM (#32338543)
> No. It's faster and that's all. So call it by that word which is very precise.

Definition of "power" is work done over some unit of time, so OP was using it precisely.