Earlier quoted context omitted.
There was actually a web page that would answer your stack overflow answer by running and benchmarking all of them. There was also a plugin that would allow you to directly grab code from stack overflow and put it right into your project, kinda of like a search engine for laziness (I think it was an Atom plugin)
There's stacksort, a sorting algorithm that searches StackOverflow for sorting functions and runs them until it returns the correct answer. An implementation is here https://gkoberger.github.io/stacksort/
The Biggest Difference Between Coding Today and When I Started in the 80s
71–80 of 117 posts
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#72Earlier quoted context omitted.
I disagree. A lot of times it still makes sense to write your own code from the ground up. There are so many instances where a lot of stuff out there is way too overcomplicated for the task at hand and takes more time to configure and resolve dependencies than it takes to just code the part you actually need from scratch. A lot of times, if I'm looking at some random github repo out there and its dependencies aren't…
sure but you often have to fight tooth and nail for the right to invent anything yourself in a lot of modern web-based environments. The idea of actually inventing something yourself is seen as crazy and dangerous in a lot of places.
That was because everybody was writing their own stuff instead of relying on frameworks that handle fuzzy things like user input for you. Many webpages have gotten more secure, but no without a cost for creative programmers everywhere.
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#73As somebody else who started coding in the mid 80s I feel this is one of the disconnects of the interview process: interviews evaluate you on the basis of an "80s programming model" where if you needed a red black tree library, you likely had to write it on your own. It would be a lot more representative of today's work if you were asked: given these 3 github repos with packages that all purport to do X, which one wo…
Like wise we brought in Gino-F to plot results nicely
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#74I received my first computer in 1980, a TRS-80 color computer, when I was a pre-teen. A few years later, I received a TRS-80 Model 100 laptop, and a few years after that, in 1987 or so, an Amiga 1000, which I used through university. I agree with most of this article, but with one big difference: I still really enjoy programming, professionally and personally. (And maybe I'm over-stating the authors lack of enjoyment…
>there was the thrill of discovery, in a rather low-level sort of way Same here, but whenever I embark on a new project today I remind myself of this mantra: "Do not reinvent the wheel" Someone out there has probably already solved your problem, so why not speed up the process and use the fruit of their brain power as a tool to speed up your process? Carpenters or mechanics do not invent a new type of hammer or drill…
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#75As somebody else who started coding in the mid 80s I feel this is one of the disconnects of the interview process: interviews evaluate you on the basis of an "80s programming model" where if you needed a red black tree library, you likely had to write it on your own. It would be a lot more representative of today's work if you were asked: given these 3 github repos with packages that all purport to do X, which one wo…
I disagree. A lot of times it still makes sense to write your own code from the ground up. There are so many instances where a lot of stuff out there is way too overcomplicated for the task at hand and takes more time to configure and resolve dependencies than it takes to just code the part you actually need from scratch. A lot of times, if I'm looking at some random github repo out there and its dependencies aren't…
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#76Earlier quoted context omitted.
If you can't tell apart a O(n^2) solution from O(log n) one, you still shouldn't be doing server-side development though.
Of course when you're gluing libraries together it is hard to know what they're doing under the hood. There are a lot of libraries with catastrophically stupid design decisions hidden behind the API, and then when everything runs like shit you find yourself having to dig into the libraries until you find the problem.
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#77Earlier quoted context omitted.
I disagree. A lot of times it still makes sense to write your own code from the ground up. There are so many instances where a lot of stuff out there is way too overcomplicated for the task at hand and takes more time to configure and resolve dependencies than it takes to just code the part you actually need from scratch. A lot of times, if I'm looking at some random github repo out there and its dependencies aren't…
I can't even get OpenCV to install properly on my Mac, so there's that. That or GQRX/libsdr. Yay Python. If you have, please share!
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#78What I really love in programming is the flow and focus you can attain when coding for hours with little interruption when you master all the libraries you use. You feel how everything quiets down around you, not because there is less noise, but because your concentration is so strong that they fade away. When you stop and go outside it feels like you have been on long trip in a faraway place. You look at people and they are acting just like before you left but you feel like foreigner. When you go to sleep you have weird dreams where you move in some data structure.
http://catb.org/~esr/jargon/html/H/hack-mode.html
edit: I don't think its fundamentally low level vs. high level problem. It's the quality of api/library problem. Compact and logical high level library that you can understand and master without continuous stream of surprises is what is needed. Verbose libraries with unnecessary "enterprise" cruft kill the hacker inside me.
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#79Earlier quoted context omitted.
If you can't tell apart a O(n^2) solution from O(log n) one, you still shouldn't be doing server-side development though.
Of course when you're gluing libraries together it is hard to know what they're doing under the hood. There are a lot of libraries with catastrophically stupid design decisions hidden behind the API, and then when everything runs like shit you find yourself having to dig into the libraries until you find the problem.
Re: The Biggest Difference Between Coding Today and When I Started in the 80s
#80Earlier quoted context omitted.
If you can't tell apart a O(n^2) solution from O(log n) one, you still shouldn't be doing server-side development though.
Of course when you're gluing libraries together it is hard to know what they're doing under the hood. There are a lot of libraries with catastrophically stupid design decisions hidden behind the API, and then when everything runs like shit you find yourself having to dig into the libraries until you find the problem.