3 ms·
Whilst not entirely the point of the article, this could have been accomplished without moving any files by changing the route definition to a scope from a name
by jgwmaxwell 11y ago
Whilst not entirely the point of the article, this could have been accomplished without moving any files by changing the route definition to a scope from a namespace in Rails...
- Breefield 11y agolol I know right, just enough knowledge to be dangerous... that may come off as mean/rude towards the author, but I don't mean it so. I do shit like this all the time because I don't know every little trick with the languages/frameworks I'm using, it's impossible to know it all unfortunately.
- cortesoft 11y agoI think the key point is that it is 'impossible to know it all' I don't think I have ever looked at code I have written more than a few months ago and NOT found a bunch of things I could have done much simpler if I had just known about some feature or trick. I have stopped feeling bad when that happens; now, I figure that the day I stop experiencing that is the day I am no longer getting better as a programmer.
- joshmn 11y agoI had the same thoughts. Why would a company like HashRocket use such an example? Or did they just not know? I don't know.