Liste des Groupes | Revenir à cl c |
On 05/12/2024 16:29, Bart wrote:On 05/12/2024 14:00, David Brown wrote:Being unable to type, on its own, is not a good excuse - it's an essential skill for productive programmers.On 04/12/2024 22:31, Bart wrote:>And while you are at it, buy a better screen. You were apparently unable to read the bit where I said that /saving typing/ is a pathetic excuse.>
I can't type. It's not a bad excuse at all. I have also suffered from joint problems. (In the 1980s I was sometimes typing while wearing woolen gloves to lessen the impact. I haven't needed to now; maybe I've slowed down, but I do take more care.)
The goal of that last part is to reduce the number of characters you have to type, rather than the number of characters in the source code.My language:
If I am writing module X and I want to use symbol "foo" from module Y, then I expect to say explicitly that I am using module Y (via an "import" or "include" statement), and I expect to say explicitly that I want "foo" from module Y (as "Y.foo", "Y::foo", "using Y", "using Y.foo", "from foo import Y", or whatever suits the language).If you used my language, you can type Y.foo if you want. Nothing stops you doing that.
When I read a source file in any language, and I see the use of an identifier "foo", I want to know where that came from - I want to be able to find that out without doubt. If it is written "Y.foo", then there is no doubt. If I see "using Y.foo", there is no doubt - but I'd
You have snatched defeat from the jaws of victory in order to save a couple of lines at the start of each file - with the result that your language is only suitable for small single-developer programs.It is suitable for a vast number of programs. I'm sure it could be used for multi-developer projects too. After all, don't your projects also place all project-structure info into /one/ makefile? Which developer has editing rights on that file?
Small, simple, easy, fast, effortless, informal, minimal dependencies, self-contained implementations. Yes, those are aim. And?So my approach is a little more informal, and more convenient."Informal" is a common theme for your language and your tools.
And "convenient" means convenient for you alone, not other people, and certainly not other people working together.You're guessing.
I suppose that is reasonable enough since you are the only one using your language and tools - why should you bother making something useful for people who will never use them? But this is a root cause of why no one thinks your language or your tools would be of any use to them - and why you get so much backlash when you try to claim that they are better than other languages or tools.The design IS better in 100 ways, at least compared to C. Other modern, higher level languages have 100 things I don't have, don't understand, or would find impossible to use.
I guess you haven't seen many exotic/esoteric languages.Yep. And yet, it is not some obscure, exotic monstrosity. It's not that different from most others, and it's not that hard to understand.It /is/ obscure and exotic.
No, it is not. You set PATH to the directories you want to use for binaries - the OS does not search the entire disk or random additional attached filesystems.PATH is a collection of paths that are searched in turn. There it will stop at the first match.
No, your design is to /force/ "using namespace" - whether the programmer wants it or not, and without the programmer even identifying the modules to import. It's your choice - but it's a bad choice.The programmer knows how the language works. They will have chosen the modules that are grouped together.
No, I'm calling tcc and your compiler "toys".If something really criticial and imminent depended on your compiling and running some C code, and the only compiler to hand was tcc, then you'd use it! Either that or write some assembly or key in machine code.
Les messages affichés proviennent d'usenet.