Incidentally, the whole argument type-dependent function dispatch is at the 
core of the GAP language (though you have to recompile the GAP kernel to 
change it). And GAP predates K&R C. 

On Thursday, August 21, 2014 4:56:12 PM UTC+1, Bill Hart wrote:
>
> Thus the language is formally extensible at no cost and in an extremely 
> simple way that the user can easily do themselves. 
>
 
Depends on your point of view. If you want to tie together different 
third-party libraries then it can quickly become a liability that you can 
just redefine everything. 

julia> getindex(a::Array{Int, 1}, b::Int) = print("test")
> getindex (generic function with 140 methods)
>

Type this into the REPL on your colleague's computer who just left to get a 
coffee and see if he ever figures that one out. My bet would be that he's 
not going to get any work done until the next restart ;-)


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to