HackerTrans
TopNewTrendsCommentsPastAskShowJobs

eduardofcgo

no profile record

comments

eduardofcgo
·há 11 meses·discuss
Also because it's a language for the web, and HTTP is stateless.
eduardofcgo
·há 12 meses·discuss
Didn't it came out recently that those numbers were bugus, since basically every Instagram account must have a Threads account, and those are not actual active users?
eduardofcgo
·há 12 meses·discuss
Usually with OOP several builders are composed together to express the creation of some data. These builders have functions with types, which define the rules for the creation of the objects.

My point is that the CarBuilder is not a real type that relates to the business, but something that we had to create to encode some behaviour/rules.

Some function that validates that a dict is a valid car is much more explicit that lots of different builder classes in my opinion.
eduardofcgo
·há 12 meses·discuss
Singleton is the worst example of design pattern, not sure why these kinds of posts always like to mention it. Singleton is just a hack for avoiding OOP with OOP languages. Obviously python allows non OOP code, so not surprised singleton is useless there.
eduardofcgo
·há 12 meses·discuss
Could you not just use dicts and some schema validation logic for this?
eduardofcgo
·há 12 meses·discuss
The programmers that insist in using type hints in python usually are the ones that makes these mistakes. I think the main reason that these patterns do not make sense is because python is a dynamic language. If you turn off the part of your brain that thinks in types you realize that you can solve most of these in plain functions and dicts. Using default args as replacement to the builder pattern is just ridiculous. If you want to encode rules for creating data, that screams schema validation, not builder pattern.
eduardofcgo
·há 12 meses·discuss
OpenAI valued at 300B will never be able to produce the same products "wrappers" that these 5 people startups are making. Same reason Facebook could not make Instagram, of Jira could never make bootcamp for example.
eduardofcgo
·há 12 meses·discuss
Part of the inevitabilism is how these tools are being pushed. At this point it doesn't matter how good they are, it's just how many people live now. Microsoft sure knows how to turn bad software mainstream.

It helps also that these tools behave exactly like how they are marketed, they even tell you that they are thinking, and then deceive you when they are wrong.

Their overconfidence is almost a feature, they don't need to be that good, just provide that illusion
eduardofcgo
·ano passado·discuss
We have been seeing this shift for a while, where "software engineers" graduate from 3 month bootcamps. Except now most likely they will not be earning 500k making crud apps.