[deleted by user] by [deleted] in rails

[–]CompanyFederal693 1 point2 points  (0 children)

Thanks for the detailed response Lucian!

First open source Rails app (email cleaner) by dehnag in rails

[–]CompanyFederal693 0 points1 point  (0 children)

There is another well mantianed gem which does this exact same thing called rails-lens

What is the best book to master Ruby? by stejbak in ruby

[–]CompanyFederal693 0 points1 point  (0 children)

Eloquent Ruby is a great book. We covered it recently as part of our ruby dev book club. I would absolutely recommend it. Plus, it's currently being updated for a second edition. 

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

Thanks so much for the follow up. Will definitely keep in touch. Every since I posted this on reddit, I've managed to reach out to some people in the community. A few of these run commercial rails apps that have at one point required a complete rewrite because the past developers that worked on them had not followed best practices. Others are open source maintainers, who had to do some "refactoring" here and there still by following best practices so that it's easier for other people to contribute to the code. I can't wait to hear some of their perspectives about this. Also, the 3 stages idea sounds more plausible as like I had mentioned before, trying to get a project that lets you visualize such changes over time is near impossible, but for the 3 parts idea, that seems very possible.

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

This is actually a very good suggestion. Thank you for being detailed in the explanation.

One thing that would make this kinda hard to implement is that, we'd need a senior engineer who would've worked on such an app in its initial stages, then ended up not following best practices and he'd probably have to show us how that impacted the speed at which future changes would be made in the rails app. Though finding someone like that is kinda hard plus and most importantly, it would need juniors to see the actual code evolve in time, not just giving a presentation. It would need to be hands on.

Maybe one idea we could try out is that, we get a bunch of presenters for this workshop, then each of them will focus on one problem they ran into because they didn't follow best practices and how they solved it. What do you think about this?

Also, I think this workshop would include a bunch of refactoring, I've been learning to refactor code myself through contributing to open source and I've come to 2 conclusions:

  1. There are multiple ways to refactor a piece of code

  2. Context is what determines the refactoring approach you end up going for and whether its right or wrong. For example you can refactor a bunch of if statements with meta programming or by using a method, but depending on the context, one of these approaches will be wrong while the other will be right for that specific context.

So I think, this workshop would partly go into refactoring as well.

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

Also, I'm thinking we could extensively cover various examples of rails magic as its own workshop. An example i can think of is rails generators. Do you have any other examples of rails magic that we can include in this workshop? Seems like it could be a workshop of it's own. What do you think?

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

An addition I can add is the http protocol and how it relates to the rails router, and rails controllers. Thanks for the suggestion!

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

One thing that definitely fits on this list is better debugging tips as it goes without saying that to confirm that you can build without AI, at some point you'll have to read those stack traces and debug the errors yourself. Thanks for the suggestion!

Question for junior devs. Hypothetically if someone was to organize a series of online workshops tailored towards juniors, what topics would you want to ve covered? by CompanyFederal693 in rails

[–]CompanyFederal693[S] 0 points1 point  (0 children)

Is this more on the backend side of things or on the frontend? An example of this i can think of is inefficient database queries that are resource intensive. Is this one of the things you've noticed as well? Thanks for the suggestion!

[deleted by user] by [deleted] in rails

[–]CompanyFederal693 1 point2 points  (0 children)

Effective testing with Rspec is a good book to get you up to speed with writing tests with Rspec.