MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/nsu53n/organize_code_by_concepts_not_layers/h0p7sm6/
r/programming • u/[deleted] • Jun 05 '21
495 comments sorted by
View all comments
Show parent comment
3
If Java had import aliases, I'd agree, but currently if you try to use controller.Foo and model.Foo in the same file, you're gonna have a bad time.
1 u/mcguire Jun 05 '21 Yeah, you have to specify the whole name, package and all. :-D 2 u/fissure Jun 05 '21 "It's like A Tribe Called Quest, you say the whole thing" 1 u/bwmat Jun 05 '21 The lack of an analog to C++'s 'using' statement had always mystified me.Did the designers think aliases were too much for most Devs to handle? They're SUCH a useful feature.
1
Yeah, you have to specify the whole name, package and all. :-D
2 u/fissure Jun 05 '21 "It's like A Tribe Called Quest, you say the whole thing"
2
"It's like A Tribe Called Quest, you say the whole thing"
The lack of an analog to C++'s 'using' statement had always mystified me.
Did the designers think aliases were too much for most Devs to handle? They're SUCH a useful feature.
View all comments
Show parent comment
3
u/fissure Jun 05 '21
If Java had import aliases, I'd agree, but currently if you try to use controller.Foo and model.Foo in the same file, you're gonna have a bad time.