Yeah, guys! I had a question about the eval() function in an interview in the UK and I always have questioned myself about the difference between the eval() function and JSON.parse.

I already used that functions for the same implementation and the solution with both functions works perfectly. My problem to handle the JSON object as a string comes from a body request HTTP. At that moment it is worked. But, what is safer or not? in which situation I use each one?

eval(string)

So, eval(string) is a function of JavaScript that takes the string value and runs like a…


Some interviews in the UK asked about the difference between var, let, and const in JavaScript. And I decided to share what I think about them and what itself with few words, this way I fixed the conception in my mind as well. :)

Photo credit: https://www.flickr.com/photos/ramireziblog/48462879966

Var

In this code JavaScript, var is the older option for declaration news variable for JS. It is a lot used before the specification 2015 (ES6). We can declare a variable globally, or locally. For both cases, it is a consideration of the block scope.

We can declare the variable and redeclaration that in the same or…


In this post, I will describe the difference between Vanilla JS, JavaScript, and ECMAScript. I questioned myself about it 3 different terms. 🤔

Colorful Beach Huts, Seaford, East Sussex, UK (Similar design, different colors)

In your official web site (http://vanilla-js.com/) Vanilla JS is described with a framework. I see the Vanilla JS is JavaScript programming language itself, it is!, so I think Vanilla JS how framework because the development could use different libs for composing the language.

The browser grows up with JavaScript inside and different implementations for different web pages. Using just Vanilla JS means to create applications extremely faster than with some framework or some libraries for web browsers…


Torre Eiffel entre as ruas de Paris vista a noite./ Torre Eiffel between the streets in Paris in the night view.

Paris é uma cidade encantadora, existe várias criticas quanto a sua famosidade, mas uma visita a Paris foi para nós um dos melhores momentos da viagem à Europa em 2019. Uma cidade com uma riqueza de informações históricas, onde das várias histórias são mundialmente conhecidas.

Em Paris utilizarmos muito o transporte público, ficamos hospedados na região metropolitana, em Rueil-Malmaison, logo para acessar de forma rápida e com preço acessível a região central de Paris a melhor opção era através do metro. …


Depois de alguns anos sem escrever no blog senti uma necessidade de compartilhar experiências e algumas informação.

Viajamos para Praga, República Checa, um pais de Castelos, de lingua própria e de comida deliciosa. Foi uma experiência sensacional, mágica, inovadora para nós como família. O período do ano era Outono, mas o frio era tão forte para a nossa pele nordestina brasileira, mesmo tendo no ano anterior tendo visitado pela a primeira vez a Europa, na época conhecemos um pouco de Portugal, Inglaterra e Holanda, mas dessa vez o frio bateu mais intenso.

Outro ponto que gosto de descrever foi a…


O nosso Natal em Sydney foi um momento de grande felicidade para a nossa família, nos reunimos, nos confraternizarmos, rimos, trocamos presentes, agradecemos!

A noite começou uns dias anteriores, na verdade, no mês anterior, com a compra da simbólica árvore de Natal. Naquele momento colocamos um simple presente debaixo da árvore e anúciamos: O Natal está chegando!

As meninas estavam muito felizes esperando o papai Noel, colocaram biscoito, leite debaixo da árvore de Natal, elas esperando um presente do Noel, em troca estavam oferecendo algo para o lendário velhinho que vem no seu treno, puxado por suas renas.

Fiz um…


I have studied Math and Programming since 2004 when I started the Mathematic graduation, actually, I have started to study before this just for fun. I love it. ❤️

Image I — Timberr Tumbling Tower

I liked to connect Math concepts to Science computers, I believe there are many ways to learn and know the computer, but I always try to use Math to solve a problem. So, I will start to describe some algorithms. I think algorithms how a set of synchronized steps with the goal to fix or resolve a problem.

The first algorithm I will describe is Fizz Buzz. Given an array of…


In my last post, I wrote about an idea with tourism and pandemic https://medium.com/@mirlabraga/tourism-and-covid-19-50eba7950a47. Now I will start to create a project for solving the problem.

Why React.js?

It is a frontend application. I will not worry about the create a backend application. For this project, I chose React.js. I worked with jQuery, AngularJS, Angular 4,5, and 6 before, but I think React.js is the best option when facing with Angular for this solution. The main points to chose React.js instead of Angular are:

  • The learning curve is shorter than Angular;
  • React.js has version stability more the Angular (it is…


I really like to know new things and learn about them. When I left Brazil for the first time in 2018 I visited Lisbon, Portugal. It was an amazing time. I try to read everything about the country, but of course, I couldn't! I restricted myself to learn about the tourism point, the points of interest. It continues to be great because at that time everything was new in the European environment.

My family and I in the Praça do Comércio (Commercial Square), Lisbon, Portugal

After that, I visited other places until I go to Australia, where I lived a year and a half with my family. …

Mirla Chucre

Mother, Wife, Software Developer, Mathematics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store