DCMLab / DigitalMusicology.jl

Work-in-progress toolbox for digital musicology
Other
7 stars 3 forks source link

rename functions to remove unnecessary underscores #12

Closed chfin closed 6 years ago

chfin commented 6 years ago

e.g. get_piece -> getpiece.

This seems to be more idiomatic in Julia.

dharasim commented 6 years ago

yes it is if it's still readable 👍

gettheeggplant is a good counterexample

chfin commented 6 years ago

Doesn't Julia support unicode identifiers? get:eggplant:(...)

dharasim commented 6 years ago

It works!

julia> get🍆() = :eggplant
get🍆 (generic function with 1 method)

julia> get🍆()
:eggplant
chfin commented 6 years ago

I think, this is mostly done.