zlacker

[return to "WebKit Quirks.cpp"]
1. l_f+ud[view] [source] 2022-10-14 20:36:14
>>Bodaci+(OP)
I love how they name things

shouldSuppressAutocorrectionAndAutocaptializationInHiddenEditableAreasForHost(...)

◧◩
2. kitsun+ag[view] [source] 2022-10-14 20:54:01
>>l_f+ud
Can't leave any room for ambiguity!

Apple-style function/method naming may be verbose but at least the names usually have good explanatory value and aren't just meaningless verbosity.

◧◩◪
3. shadow+5l[view] [source] 2022-10-14 21:26:56
>>kitsun+ag
And in the 21st century, everybody's using tab to autocomplete that string anyway.
◧◩◪◨
4. userbi+un[view] [source] 2022-10-14 21:41:06
>>shadow+5l
The problem is when you have multiple very long identifiers that differ only in a few characters. When scanning through code, it's much easier to see the difference between a saaainheafh and a saaainheafi than it is a shouldSuppressAutocorrectionAndAutocaptializationInHiddenEditableAreasForHost and a shouldSuppressAutocorrectionAndAutocaptializationInHiddenEditableAreasForInput.

Also, autocomplete doesn't work when you're reading and not writing, or just using a text editor or reading/annotating a printout (yes, I still do that.) IMHO writing code that almost completely relies on special tools to handle it is a bad trend.

[go to top]