We have an exported function compile that is a purely redundant wrapper around createProgam. Should we remove it and just use createProgram everywhere? Or do we prefer the compile name? It feels like we shouldn't be exporting both as it's confusing and I was wondering if there was a difference when noticing that both are used in different places.
https://github.com/microsoft/cadl/blob/c78697eb2502a5f52139c0b6911e146def449e25/packages/compiler/core/program.ts#L965-L971
We have an exported function
compilethat is a purely redundant wrapper aroundcreateProgam. Should we remove it and just usecreateProgrameverywhere? Or do we prefer thecompilename? It feels like we shouldn't be exporting both as it's confusing and I was wondering if there was a difference when noticing that both are used in different places.https://github.com/microsoft/cadl/blob/c78697eb2502a5f52139c0b6911e146def449e25/packages/compiler/core/program.ts#L965-L971