Programmer qualities (Was: MP3 Format Page)
Re: Programmer qualities (Was: MP3 Format Page)
Just as a matter of interest, do you actually have experience of working in the software industry?
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Programmer qualities (Was: MP3 Format Page)
No, nor do I intend to. I've seen code that comes out of "the software industry" and I've seen code that comes from independent developers, and needless to say that latter is always more efficient and easier to maintain than the former. You don't have to have worked in the software industry to know that the only HTTP response codes needed for 99% of use cases are 100, 200, 206, 301, 302, 303, 304, 403, 404, 418, 500, 503 and a generic "not implemented" handler for any others. I'm not saying that this will give you a full-featured, robust, standards-compliant web browser, but it will give you enough to get you started with something that you can actually use to browse the internet without worrying about proxies, gateways, authentication, caching, and a bunch of other stuff that you don't need.iansjack wrote:Just as a matter of interest, do you actually have experience of working in the software industry?
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: Programmer qualities (Was: MP3 Format Page)
That explains a lot.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Programmer qualities (Was: MP3 Format Page)
I see you didn't actually read either of my last two posts properly.iansjack wrote:That explains a lot.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: Programmer qualities (Was: MP3 Format Page)
I read both of your posts fully.
Opinions based on a lack of evidence or experience are not always valid.
Opinions based on a lack of evidence or experience are not always valid.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Programmer qualities (Was: MP3 Format Page)
Prove it. Look at the last post, talking about web protocols.iansjack wrote:I read both of your posts fully.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Programmer qualities (Was: MP3 Format Page)
One of my last HTTP pieces lists three status codes explicitly, of which one of them is not on your list. I can't delve into details because of an NDA. However it does prove to me personally that your idea of good code is distinct from company reality. I'm pretty sure the same process goes for iansjack when he said "that explains a lot".
In addition, I do not accept the unfair burden of proof to a party that demands it but refuses to participate.
In addition, I do not accept the unfair burden of proof to a party that demands it but refuses to participate.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Programmer qualities (Was: MP3 Format Page)
So because of an NDA you can't tell me which HTTP status code is not on my list? How do I even know that your project fits the description of "enough to get a working HTTP client" (to which my list applies) and not "specialist software that needs to implement particular complexities of a standard"? Herein lies the problem with commercial software development, and why I hope to never get caught up in it.Combuster wrote:One of my last HTTP pieces lists three status codes explicitly, of which one of them is not on your list. I can't delve into details because of an NDA.
Did I ever say that my idea of good code is code that doesn't implement a standard properly? No, I said that good code should be efficient, and shouldn't sacrifice efficiency for edge cases that are beyond the scope of the code. I also said that many OSdevers are likely to appreciate an overview of common protocols and formats in a way that they can implement to make their OS useful/interesting and as a starting point for developing more robust applications; I did not say that this is "good code" in an absolute sense (if there even is such a thing) but that it doesn't give the developer more work than is necessary for the scope of the project (where said scope is "play an MP3 file from my music collection on my OS" or "post to OSdev forums from my OS") and thus discourage them.Combuster wrote:However it does prove to me personally that your idea of good code is distinct from company reality.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: Programmer qualities (Was: MP3 Format Page)
I am greatly relieved to hear that.onlyonemac wrote:No, nor do I intend to.
A ridiculous statement. One among many you have made.onlyonemac wrote:I've seen code that comes out of "the software industry" and I've seen code that comes from independent developers, and needless to say that latter is always more efficient and easier to maintain than the former.
If a trainstation is where trains stop, what is a workstation ?
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Programmer qualities (Was: MP3 Format Page)
In what way is that ridiculous? Suppose I rephrase it then to "I perceive that the latter is always more efficient and easier to maintain than the former"? Now are you going to argue with my perception of things?gerryg400 wrote:A ridiculous statement. One among many you have made.onlyonemac wrote:I've seen code that comes out of "the software industry" and I've seen code that comes from independent developers, and needless to say that latter is always more efficient and easier to maintain than the former.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing