You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm going to start new enhancement feature branche (user_data, especially cloudconfig). It seems that all of features doesn't fit to one file.
My first thoughts were to split things up like Fog does already: a compute/connection class, a server class, network class, etc. But I haven't had time to really sit down and work on it.
I can see the point of this, but it is only 280 or so lines of code. Think about any time you have a method name with a noun in it, you could make the noun the object. create_server should perhaps be server.create for instance. Generally, methods should have nouns in them unless you are associating 2 objects if you are going OO like perhaps server.attach_ip(ip)
@TerryHowe Thanks for the input. As an "accidental developer", I appreciate any and all. Very true, it's not too bad right now. This is partly here as a reminder it'll only ever get worse and partly as a small refactoring exercise for when I next have some free time.
It's starting to get too big for one file.
The text was updated successfully, but these errors were encountered: