DEV Community

loading...

Discussion on: The Difference Between Statements and Expressions

Collapse
sebastientorres profile image
sebastientorres

Thank you!
Nicely written and well explained.

I think the distinction between expression and statement, and between procedure and function is perhaps one I've not really thought and out and subsequently missed.
Certainly something to keep in mind when producing code and deciding how to implement a solution. So, yes it does matter. Being aware of these distinctions is a route to being a better software engineer, writing more reasonable and cleaner code. It's knowledge of tools and picking the correct tool for the task at hand.
Again, thanks.

Collapse
renegadecoder94 profile image
Jeremy Grifski Author

Glad you liked it! This is is distinction I just learned about as well, and it really got me thinking more critically about how I write code.