3 ms·
Typescript looks so ugly visually. It gives me PHP vibes. I think it's the large words at the first column of the eye line: export const function type retur
by ilrwbwrkhv 2y ago
Typescript looks so ugly visually. It gives me PHP vibes. I think it's the large words at the first column of the eye line:
export const
function
type
return
etc
This makes scanning through the code really hard because your eye has to jump horizontally.
- sprobertson 2y agowhich of those words are large?
- AcquiescentWolf 2y agoAh yes, such large words like const, function, or return, that only exist in TypeScript and PHP.
- triyambakam 2y agoSo, like, which programming language do you think is not ugly? J? K?
- dcre 2y agoSilly comment, but I concede this bit is very ugly — they should have extracted the inner type to an alias and used that twice. options: [ Omit<ChatCompletionParseParams, 'model'> & { model: Model }, Omit<ChatCompletionParseParams, 'model'> & { model: Model }, ], like this type Options = Omit<ChatCompletionParseParams, 'model'> & { model: Model } options: [Options, Options]