少点错误 05月14日 12:02
Default arguments in casual speech
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文探讨了在规划骑行路线时,如何在舒适度和直达性之间做出权衡。作者以自身在波特兰选择骑行路线的经历为例,指出理想路线的选择并非简单的在地图上寻找紫色、双蓝或双绿的路径。因为即使是同类型的路径,舒适度也各不相同。作者进一步分析了影响选择的多种因素,如天气、光线和时间紧急程度,并提出人们在提问和回答此类问题时,通常会采用默认值或考虑多种可能的情况,最终找到一个平衡点。文章旨在帮助骑行者更好地理解自身需求,从而做出更明智的路线选择。

🚲骑行路线选择并非仅看地图上的颜色标识,如紫色(Off Road)、双蓝(受保护车道)和双绿(社区绿道),实际舒适度因具体情况而异,需要综合考虑。

☀️舒适度与直达性的重要性是动态变化的,取决于初始状态。例如,在舒适度已经很高的情况下,提升直达性的优先级会超过进一步提升舒适度。

🚦人们在讨论舒适度与直达性的重要性时,通常会默认一些参数,如天气良好、光线充足、时间不紧迫等。如果情况特殊,应明确指出,避免因信息不完整而产生误解。

⏱️作者提出,舒适度与直达性的相对重要性是一个多变量函数,受当前舒适度、当前直达性、天气质量、光线水平和紧急程度等多种因素影响。

Published on May 14, 2025 4:00 AM GMT

The other day I was planning out bike route that I'll need to take periodically. I need to get from NW 12th and Marshall to NE 60th and Glisan in Portland, Oregon. As you can see below, I have lots of options.

http://portlandbikemap.com/

I am pretty safety conscious, so I tend to only use the purple, double blue, and double green paths.

Purple is for off road paths that don't have any cars nearby. I'm very happy on purple paths. Here are some examples:

Double blue, well double blue can mean different things. Sometimes they are protected from cars with some sort of barrier in a way that makes me feel safe and comfortable. Sometimes they are wide enough and amongst traffic that is low enough speed.

But other times I don't feel comfortable on paths with a double blue label. Maybe the protection is flimsy. Maybe the bike lane isn't wide enough. Maybe the nearby traffic is too fast. Maybe the intersections are dangerous. Maybe you're in range of being "doored".

Double green labels are for neighborhood greenways. Neighborhood greenways are streets where cyclists share lanes with cars and with features that make things safer for cyclists like low speed limits, protected crossings, and traffic calming.

https://www.portland.gov/transportation/what-are-neighborhood-greenways

I'm usually pretty comfortable on these greenways, but not always. Some are better than others. In particular, because of the intersections.

Here is an example. I take the greenway shown below a lot. The street intersecting with it has some really fast traffic. It has cars that recently got off the freeway and are flying by. Depending on the cars that are parked in the area, the visibility isn't great, so I often find myself having to slowly inch up and make sure it is safe to cross.

Anyway, all of this is to say that I want to figure out a route that works well for me and doing so requires some thought. I could just look at http://portlandbikemap.com/ and eyeball the most direct route that uses purple, double blue or double green paths, but I'm not comfortable on all double blue paths, and some double green ones are better than others.

So I went over to the BikeLoud Slack to ask for help. There are a bunch of very experienced cyclists over there who are very eager to help. And sure enough, people immediately were able to point out where the tricky intersections are and which back routes I might want to consider.

But the conversation started off with someone asking me how important comfort is compared to directness. It's a valid question, but for reasons that are hard to articulate, it kinda broke my brain.

At the time I pushed past the confusion, waved my hands, and said that comfort is moderately more important to me. But saying that felt wrong. I couldn't put my finger on what, exactly, felt so wrong about it, but something definitely did. Well, in this post I'd like to explore these feelings of wrongness and confusion.


I guess the issue is that my real answer is "it depends". I can't actually say that comfort is always more important than directness, and I can't say that the magnitude is always moderate.

One issue is that the importance of comfort depends on the "starting point". If the starting point is a 9/10 and we're talking about moving from there to a 10/10, that's not as important to me as going from a 5/10 to a 6/10.

I probably have a threshold somewhere around 8/10 where diminishing returns kick in. So if I'm currently at a 9/10 level of comfort and 4/10 level of directness, I'd prefer a gain in directness over a gain in comfort.

Maybe this will make more sense if we view it graphically. Consider the graph below:

Asking how important comfort is to me feels like asking what the slope of the graph is. It depends!

Yeah, "it depends" feels right. More generally, my preference for comfort vs directness depends on various things. How's the weather? Is it dark out? Am I in a rush?

I suppose you could say that the importance of comfort relative to directness is a function of numerous things:

    Current comfort levelCurrent directness levelWeatherLightUrgency

The output depends on the inputs. In code, it'd look something like this:

function getImportanceOfComfortRelativeToDirectness(  currentComfortLevel,  currentDirectnessLevel,  weatherQuality,  lightLevel,  urgency) {  ...}

With that said, I think that feeling of "my brain broke" was the feeling of it throwing an error: "Illegal number of arguments: expected 5, got 0."[1]

But people are able to productively ask and answer these sorts of questions all the time, despite the fact that there are "missing arguments". What's going on here?

Well, for my first stab, I hypothesized that people have defaults for these arguments. So when you ask the question without specifying things like current comfort level and weather quality, they just assume you mean a moderate current comfort level and decent weather.

function getImportanceOfComfortRelativeToDirectness(  currentComfortLevel = 5,  currentDirectnessLevel = 5,  weatherQuality = 8,  lightLevel = 8,  urgency = 5) {  ...}

But I don't think that's quite right. I think people try calling the function with a bunch of different plausible values, and then kinda average the results. 

getImportanceOfComfortRelativeToDirectness(5, 5, 8, 8, 5) => 4getImportanceOfComfortRelativeToDirectness(5, 5, 5, 5, 3) => 6getImportanceOfComfortRelativeToDirectness(7, 4, 8, 8, 3) => 3...

It's assumed that we're talking about plausible values here. If the person wanted to know how important comfort was to me relative to directness when it's raining and dark out, they would have said so. When you don't explicitly pass an argument, it's assumed that the argument should take some sort of realistic value.


This societal norm makes sense to me. There's a convenience vs accuracy trade-off at play. It's a lot easier to just ask about the importance of comfort vs directness than it is to ask about the importance of comfort vs directness when current comfort and directness levels are moderate, the weather and light levels are good, and I'm not in a rush. And it's particularly difficult to articulate the question of how important comfort tends to be compared to directness for various plausible collections of arguments.

Still, I think a lack of specificity can lead to issues. If you suspect that this is happening, I think it would be wise to re-evaluate the trade-offs. Maybe it'd make sense to take a step back, dial up the accuracy at the expense of convenience, and check in to see what arguments different people are using.

  1. ^

    I get similar feelings when wrong questions are asked.



Discuss

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

骑行路线 舒适度 直达性 路线规划
相关文章