News for hackers. Stuff that matters.
Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @02:31AM (#26930737)
>"Consuming abstractions produced by others and building our own abstractions on top of them to solve our own local business problem. This is what programming really is for me."

This is not programming, just like how following a recipe is not cooking.

Re:The difficulty of programming depends on the layer and qu... by naniwaduni on Sunday April 25, 2021 @02:36AM (#26930760)
I'm pretty sure following a recipe is generally considered cooking.
Re:The difficulty of programming depends on the layer and qu... by porknubbins on Sunday April 25, 2021 @02:41AM (#26930786)
Isn't following a recipe to make food exactly the definition of cooking? Maybe they meant that a chef has to invent original dishes but I think the whole cooking metaphor fails to map to programming since its mass production vs programming being essentially always custom one off.
Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @02:55AM (#26930847)
If I dictated every ascii character of Romeo and Juliet to you, would you then call yourself a playwright?

I would call you a good typist.

EDIT: I never cook with a recipe and do everything by taste, feel, and instinct.

Re:The difficulty of programming depends on the layer and qu... by watwut on Sunday April 25, 2021 @04:52AM (#26931306)
Then you should have used Romeo and Juliet example instead of cooking example.

Following receipt is in fact cooking. You can go by feel, but you don't have to. Majority of cooking is following receipt, whether written or not.

Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @02:41AM (#26930787)
what happens when you burn the food because you have no concept of how hot is too hot?

what happens when you get a null pointer because you have no concept of exception handling?

Re:The difficulty of programming depends on the layer and qu... by samatman on Sunday April 25, 2021 @03:19AM (#26930947)
Did the recipe say "burn the food"?

Ok, then you didn't follow it.

Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @10:41AM (#26933068)
"Did the programming tutorial say 'watch out for flipped bits in your hello world'"
Re:The difficulty of programming depends on the layer and qu... by slver on Sunday April 25, 2021 @03:23AM (#26930962)
What happens is you learn, and next time you have a concept. That doesn't mean you stopped using recipes.
Re:The difficulty of programming depends on the layer and qu... by vladmk on Sunday April 25, 2021 @02:42AM (#26930791)
This is literally how some of my coding friends told me they learned to code and created their own programs.

And yes following a recipe is cooking otherwise chefs would never do it, it’s called standardization

Re:The difficulty of programming depends on the layer and qu... by slver on Sunday April 25, 2021 @03:06AM (#26930893)
Literally all programming fits that sentence. Your language is an abstraction, the opcodes it compiles to are an abstraction, the machine code is an abstraction and the microcode it translates to - also. The engineering software for hardware is a highly simplified abstraction based upon physics and math. The physics and math, ...an abstraction for reality we barely understand.

We all stand on the shoulders of giants.

But maybe you create your own universe from scratch and program it without abstraction, who knows.

Re:The difficulty of programming depends on the layer and qu... by fenomas on Sunday April 25, 2021 @02:45AM (#26930807)
"A submarine propelling itself through water? Pfft, that's not swimming."
Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @02:48PM (#26935396)
It's strictly not. Marine soldiers are not asked to pass a submarine piloting test, they're asked to complete a swimming test.

Why is this important? Because how can one import a library for a problem that currently has no solution?

Re:The difficulty of programming depends on the layer and qu... by fenomas on Monday April 26, 2021 @01:21PM (#26945189)
It's a reference.

"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim." - Dijkstra

Re:The difficulty of programming depends on the layer and qu... by a0-prw on Sunday April 25, 2021 @03:53AM (#26931078)
A computer "follows the recipe", the programmer writes it. Sometimes the programmer runs parts of the program in his head.

A chef creates recipes and sometimes follows them. He can also extemporise.

Re:The difficulty of programming depends on the layer and qu... by cyanf on Sunday April 25, 2021 @02:37AM (#26930765)
Of course it is. You don't write a new web framework when you want to build a website.
Re:The difficulty of programming depends on the layer and qu... by fridif on Sunday April 25, 2021 @02:43AM (#26930800)
which framework do i use to translate my cool idea for a game into a triple aaa title, merely through speech alone?