r/Devs • u/Lounge_leaks • Apr 02 '20
EPISODE DISCUSSION Devs - S01E06 Discussion Thread Spoiler
Premiered on april 2 2020
212
Upvotes
r/Devs • u/Lounge_leaks • Apr 02 '20
Premiered on april 2 2020
View all comments
Show parent comment
5
u/Shahar603 Apr 04 '20 edited Apr 04 '20
Algorithm development doesn't require any of that. Dijkstra's algorithm doesn't enforce a method of storing the numbers for it to work. (EDIT: data -> numbers. Data storage method affect time complexity of the algorithm).
Writing code is very different than CS. And even for programming, you can write code without knowing about the way floating point numbers are being stored or about integer overflow. Depends on the language your code might be worse because of your lack of knowledge but you can manage.
Do you know how floating points numbers are being stored? Have you read the whole IEEE 754 specification to know how every bit in the variable is being stored? Anyway higher level languages abstract that away (For example Arbitrary-precision arithmetic to avoid overflows.
And even if you do there are a million things you could argue every programmer "should" know. Do you know how your CPU work? You may know a bit about it, you may even know some assembly, but you don't have to know the instruction set of your CPU and the numerous optimization it does to write good code.