That is up to the user to make their code readable.
I don't think this makes that necessarily any harder.

My example:

using GlobalDB

globalDBManager = GlobalDB.Manage()
myGlobal = connect(globalDBManager, "mynamespace", "myglobal")

myGlobal["12345.566"] = "A numeric subscript"

....

using SQLDB
sqlDBManager = SQLDB.Manage()
sourceSQL = connect(sqlDBManager, "127.0.0.1", 3000)

Please tell me, just where is that hard to read?

I think it is perfectly readable - much better than having to try to figure 
out what:

a *= b

means, when it could be:  multiplying two numbers (scalar, rational, 
complex), or matrix multiplication of two vectors [I would rather have to 
explicitly use a the Unicode . symbol for dot product in that case, or 
multiplying a vector by a scalar... or the really confusing case, 
especially people who thing of strings as being vectors of characters, 
appending b to a...

Scott

On Sunday, April 26, 2015 at 8:16:24 AM UTC-4, Toivo Henningsson wrote:
>
> Regarding automatic merging of functions: It's hard enough as it is when 
> you are reading code with several using statements to figure out which 
> function actually gets called at a given point. Writing a piece of code, it 
> might be quite obvious to you which function of a given name that you 
> wanted to call, but consider the additional mental steps for someone 
> reading it, including yourself at some point in the future. 

Reply via email to