Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mst
12y ago
0 comments
Save
Share
In perl I'd just write -
return $some_loaded_thing->fairly_descriptive_but_necessarily_long_name( $not_very_long_argument );
Surely python has something approximating an equivalent?
0 comments
2 comments · 2 top-level
top
newest
oldest
collyw
12y ago
Come on, you can get rid of the return statement if it is the last line in a subroutine.
viraptor
12y ago
sorry, it was the return itself that was making it too long already. Basically assigning it locally took just exactly the number of characters, return was sticking out by one or two.
j
/
k
navigate · click thread line to collapse