Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39758
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: How hard can it be? Audio processing |
| Date | 2021-03-24 20:03 +0000 |
| Organization | A little, after lunch |
| Message-ID | <s3g5uk$jsg$1@dont-email.me> (permalink) |
| References | <s3clre$o5j$1@dont-email.me> <rm1n5gh3go49cllpko0sulto7ac0isrhqf@4ax.com> |
On 24/03/2021 18:38, John G Harris wrote: > On Tue, 23 Mar 2021 12:10:21 +0000, The Natural Philosopher > <tnp@invalid.invalid> wrote: > > <snip> >> <rant>Until object orientation and computer scientists (after >> ArtStudents™, the next most dangerous class to be allowed near a >> computer) get in the way, and you need a 100k library just to even >> change the volume. > > If you choose to copy and use somebody else's bad design you should > get all the problems you deserve. > You have no choice. You have to use javaScript and its APIs. Yes, its shit code, but it's all there is. Try for example programming X windows without a widget set or a graphical toolkit. > >> And as is usual with any API, the documentation tells you how to use it, >> but never why you might want to, and invents a huge number of new >> concepts that are completely unnecessary in order to preserve the >> sanctity of the CodeGurus™ who wrote the damn thing. >> </rant> > <snip> > > The documentation that you write is so much clearer and complete, > right? I don't believe you. Well yes it is - or used to be. I had to understand it, years later. But the issue is not that the documentation is obscure, its that the whole design concept gets mangled when people insist on forcing it all into objects and classes. That suits some projects, but by no means all projects. And then people document what they wrote, from the perspective of understanding what they write, but not why they wrote it.. ..e.g.(not a real example, but indicative) 'operates on stream type object allowing manipulation of buffer attributes'... What is a stream type object? Why would you want to use one? What is its buffer for? What are the buffers attributes? Why would you want to modify them? ... and so on JavaScript is not a bad language, although it has its hidden pitfalls (no strict typing can catch you when you are expecting a nuumber and get a string and vice versa) but the interface to te DONM is pretty bloody awful. To wit I don't know if what I want to do is *even possible*. After two a days reading up on all the docs I can find. Its pretty prevalent throughout the IT industry, and always has been. I remember years ago contacting Cisco support, about using ISDN. It simply didn't work. The documentation told you about various parameters you could set, but not what they meant or why you would want to set them. I got through to a tech guy ' Are you in the UK?' 'Yes' 'Ok, you need to set ISDN type to 3' 'why?' 'I don't know. That's the type of ISDN you use there.' 'Are you sure it will work' 'sure. I spent a month over there getting that bit of the code working'... If Cisco can't get their documentation right....on thousands of dollars of product... I remember someone deciding to move from C to C++ some years ago. It took 5 times longer to write the code, and he said 'with hindsight, we should have spent all the time specfying the objects and classes, instead of writing the code, then it would only have taken twice as long' :-) But the point is is there anyone here who has even done one single piece of code using the audio API? I suspect the answer is 'no'. > > John > -- "If you don’t read the news paper, you are un-informed. If you read the news paper, you are mis-informed." Mark Twain
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-23 12:10 +0000
Re: How hard can it be? Audio processing JJ <jj4public@gmail.com> - 2021-03-23 21:01 +0700
Re: How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-23 17:17 +0000
Re: How hard can it be? Audio processing JJ <jj4public@gmail.com> - 2021-03-24 23:16 +0700
Re: How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-24 17:48 +0000
Re: How hard can it be? Audio processing John G Harris <niam@jghnorth.org.uk.invalid> - 2021-03-24 18:38 +0000
Re: How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-24 20:03 +0000
Re: How hard can it be? Audio processing "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-24 18:01 -0700
Re: How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-25 07:39 +0000
Re: How hard can it be? Audio processing The Natural Philosopher <tnp@invalid.invalid> - 2021-03-25 07:50 +0000
Re: How hard can it be? Audio processing "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-25 06:10 -0700
csiph-web