jwcolby
jwcolby at colbyconsulting.com
Tue Mar 16 07:20:38 CDT 2010
LOL. It is amazing to me that everyone on this list never thinks a thing about using parenthesis to
group mathematics for readability and to specify execution order and yet we have people bitching and
moaning about a programming language that does the EXACT same thing!
;)
(X + Y) * (z^2-3)
Who in their right minds would WANT
begin X+1 end * begin x^2 -3 end
Which is the more readable?
In the end it is all about comfort level. People (me included) don't want to have to take the time
and effort to learn a new way.
I am making the effort and I am happy I am, and it is a waste of time and breath to continue this
conversation further. Do I really care whether Max (or anyone else) wants to do the same?
John W. Colby
www.ColbyConsulting.com
Shamil Salakhetdinov wrote:
> OK, Max :)
>
> Not trying to convince you (:)) just noting that curly brackets do enhance
> code readability, make it unambiguous, clear, relevant, accurate and as
> brief as possible - all using just two generic (helping hands) symbols - '{'
> and '}' . And in most of the cases curly brackets are inalienable
> (indefeasible, integral, essential) part of the code - remove them and code
> blocks will become ambiguous...
>
> Programming languages do come from mathematics, and therefore (IMO just IMO)
> using special symbols to keep a programming language syntax as concise and
> as unambiguous as possible is a good and productive idea...
>
> And in VB(A)(.NET) one have to use the whole set of (natural language)
> substitutes:
>
> - Namespace ... End Namespace
> - Module ... End Module
> - Class ... End Class
> - Sub ... End Sub
> - Function ... End Function
> - For ... Next
> - While ... End While
> - If .... Then ... End If
> - ...
>
>
> Thank you.
>
> --
> Shamil {^;^}