loading...

Is coding a lenguage like english or portuguese?

jana profile image Jana ・1 min read

Hello, my name is Jana and I am new here.
I have never wrote a code in my life and I'm doing a very very very basic course to see if that is something I can do. Not as a career, but as a possibility. To occupy a new place in this distópico world. To feel like I can do something about it.
the thing is, since I started I tend to see coding as a lenguage. A lenguage that has the correct and polite way to say things and the street style that you use for everyday life.
I see front end as the street style and the back end as the formal use of lenguage. Am I crazy?
Does everyone ever wrote about this form of learning to code and to deal with technology?
If so, please send me some links, references and ideas. I would be very pleased to have something to look up for in order to organize my own mind as a begginer in tech skills

Discussion

pic
Editor guide
Collapse
jmfayard profile image
Jean-Michel Fayard 🇫🇷🇩🇪🇬🇧🇪🇸🇨🇴

Hello, I'm a polyglot and a programmer and I find that there are lots of common points:

  • both have a grammar - for a programming language that's the syntax
  • both have a vocabulary - name of functions, APIs, ...
  • once you know one foreign language / programming language, learning one more is way easier
  • both are used to express yourself
  • both only makes sense if you can write in a way that is clear and understandable for others
  • both are shaped by how the community use it - you have design pattern, "idiomatic" way of writing things, ...
  • both are best "learned by doing" - sitting at school is way less efficient than opening your mouth and speaking in the street, just like if you don't build a project, you will forget soon what you have "learned"

One big difference is that programming languages are much easier to learn than human languages. Programming languages were designed to be easy to learn, consistent. They don't have tons of irregularities.

With the possible exception of JavaScript among programming languages and Esperanto among human languages :P

Collapse
jana profile image
Jana Author

Thank you so much for this complete analysis!
It's awesome to know that makes sense to relate one to another because i was always told and therefore told myself that science is hard and lenguages are easy. Now I can see the other way around and it makes me feel more confident :)
Thanks

Collapse
kallmanation profile image
Nathan Kallman

Computer languages also come in "families" like human language. Just like Spanish, Italian, and French are all "Romance" languages and have similar grammar, because they all originated from the same Latin root; languages like Java, C#, PHP all read similarly, because they all were majorly inspired by the earlier C language.

And like those romance languages are totally different from oriental languages; those three languages appear totally different from languages like Haskell and Lisp.

Collapse
jana profile image
Jana Author

Thanks! This link between the origin of lenguages helps a lot my understanding of it :)

Collapse
ldrmuse profile image
Melissa Heying

I think I see how you’re trying to envision it. The backend uses the language to connect to the database so it can store the data that comes from the front end. The front end uses the language for the UI ( essentially where the data comes from). Sometimes you have a specific language for the backend and a specific language for the front end. JavaScript is unique to where you can both use it on the front end and back end. I hope this helps!

Collapse
jana profile image
Jana Author

It helped a lot!
Now I can see the difference of both uses of code more clearly. And now I really want to learn java :)
Thank you!

Collapse
ldrmuse profile image
Melissa Heying

You're very welcome!!

Collapse
anja profile image
Anja

Hey I can recommend the app Sololearn to get an impression about different programming languages.

Collapse
khangnd profile image
Khang

Agree, SoloLearn is a great platform :)

Collapse
jana profile image
Jana Author

Thanks Khang :)
If it teaches me to do a cool personal site like yours I'll be happy ;)

Thread Thread
khangnd profile image
Khang

You will do it cooler, not just like mine 😉

Collapse
jana profile image
Jana Author

Thank you! I'll try it :)

Collapse
offirmo profile image
Offirmo

Hi Jana, I would rather compare a programming language to a recipe:

  • add 700g of flour
  • add 2 eggs
  • mix until smooth
  • etc.

Since this recipe will be read by a robot, it must be "flawless". For example, if you make a typo "700g of flor" the robot won't get it and stop.

Similarly, if you make an obvious mistake like "700 kg of flour", the robot won't catch it and attempt to do it anyway.

Collapse
jana profile image
Jana Author

You won my heart with this!
And i was thinking about it when I was translating some recipes and i thought how precise you need to be in both ;) thanks

Collapse
offirmo profile image
Offirmo

Glad it helped! Programming is really great!

Collapse
thatshubham profile image
Shubham

I'm gonna attach the same 2 minute video I sent to a friend. She kind of had the same question. Khan academy ftw!

Collapse
jana profile image
Jana Author

The video really connected the dots in my head, very helpful! I already know khan academy, I'll try something there :)

Collapse
thatshubham profile image
Shubham

I am super glad it helped you! That website is a treasure trove of knowledge.

Should you have any questions - feel free to ask (like you did, or DM anyone here including me). When it comes to learning how to program, no question is dumb and there's always someone before you who had it :D

Thread Thread
jana profile image
Jana Author

Thank you! This community is so open and warm to newbies that I certainly will not feel embarrassed to ask for help :)

Collapse
divinopudim profile image
Dial J For Jorge

I would say that the comparison between what you called "street style" and "formal" would go better whith the concepts of "clean" and "dirty" code.

Collapse
jana profile image
Jana Author

Pode crer! Mas me diz uma coisa, a linguagem de backend é mt diferente do front?
Que vc acha?

Collapse
divinopudim profile image
Dial J For Jorge

Então, como eu ainda sou um estudante, eu não posso falar com 100% de certeza. Eu diria que depende. Javascript, por exemplo, serve para os dois. Mas uma coisa pra se ter em mente é que linguagens de programação são muito parecidas, o que você vai ver são pequenas diferenças na sintaxe.

Thread Thread
jana profile image
Jana Author

Hummmm massa! Obrigada :)

Collapse
lucioeiras profile image
Diego Eiras

Incrível ver mais brasileiros por aqui! Sucesso, Jana!

Collapse
jana profile image
Jana Author

Valeu Diego!
Tô muito no comecinho de tudo, espero que a jornada seja tão legal quanto usar essa rede ;)

Collapse
jwp profile image
John Peters

Yes coding is exactly like learning a language. I written about this here.. dev.to/jwp/why-do-some-believe-typ...

Collapse
jana profile image
Jana Author

Your article is amazing John, thank you!
It gave me a lot to research for, like the history of programming languages.
And I don't trust or like Microsoft either lol
Thank you!

Collapse
gvsakhil profile image
G.V.S Akhil

U want to learn the frontend or backend?

Collapse
jana profile image
Jana Author

Front-end at first and then backend.
If I don't use backend on daily basis at least I want to know how it works...