Hacker News new | ask | show | jobs
by bryanrasmussen 1550 days ago
I'm not sure I understand why you would expect to be able to do this with a language you are not very familiar with, although I also am not sure exactly what not very familiar means here.

I hope however if you are going to analyse a codebase in a language you are not familiar with one of two things apply -

1. There is a part of the codebase that uses some language you are very familiar with, or that touches a specific knowledge domain (like frontend development or database querying) that you are very familiar with, if so start at the point of greatest familiarity and try to walk backwards and document for yourself bits of code that are touching the stuff you do know well.

2. You are in a situation where you are a secondary developer to someone who is an expert in the language, hopefully they can give you a tour of the codebase.

If neither of these are the case I guess you are going to have to learn the language and get a beginners guide to Flask or something like that. Maybe ask on a forum for the language what the best learning sources are.

1 comments

I guess what interests me is how people structure their projects from small to large code bases.

I've been learning python specifically to get better at competitive programming style questions (I mainly work with Ruby on Rails).

Now I am trying to find projects that are well written to get an idea of how good Python is written but it seems like most recommendation are large projects like Flask. I want to learn the design patterns and file structures of Python in a way where i am not completely lost.