"It is the logic of the program that matters, not the code used".  They are the same thing. The kinds of languages used to teach kids (like Logo, back in my day) focus on logical constructs, not arcane technical issues.  A good teaching language will hide the complexities of the hardware implementation so the student can focus on logic.  Of course, professional programmers do need to understand hardware implementation issues, but that's not what teaching coding is about.  It's about using logic, really.