#What is the difference?
5 messages · Page 1 of 1 (latest)
bottom is syntax sugar
its preference, syntax sugar pretty much means "fancy"
(I think) more people use the bottom though, so imo its better to go with that for readability
none is its just to make programmers not write excess thinkg of it like using apostrophes in english
you can write
I am
but you can rewrite it so its shorter and easier to read (subjective but usually true)
I'm
the bottom is sugar syntax of the top one but they both provide same meaning if that makes sense