HN user

aiunboxed

86 karma
Posts8
Comments86
View on HN

This has always been a debate in my head whether to make the function return error codes or to throw those errors.

Irrespective of throwing an error or returning an error you need to handle it somewhere. If you are returning an error then the type system can handle it and the person calling your function can get an idea.. while if you are throwing an error in most of the languages your caller function will not get an idea that this function can throw an error.

The historic background for this is that the first Debian project leaders were implicitly all-powerful dictators until they chose to step down

What was this about ?

Role of Algorithms 3 years ago

Bad habits, not the one you mentioned but sometimes I feel that same time invested in software development might have yielded better results.

In software development you also have test cases where your code should pass so you have in CP

Agree, it feels like the right decision as well. The grid felt a little bit like shadcn hence I asked.

Using external libraries gives some early velocity, but most of the good looking libraries are incomplete and most of the complete ones are boring (material / bootstrap)

I believe the issue isn't necessarily with the organization itself, but rather with the inherent nature of most individuals who may not actively seek improvement or introspection. Many people tend to gravitate towards comfort and familiarity, resisting change even when it's beneficial

After all, an organization is ultimately a reflection of its people.

Sometimes people need direction and for that direction having a visionary leadership team and having strong middle managers become extremely necessary.

Role of Algorithms 3 years ago

Yes as a former competitive programmer I think there are a lot of benefits to learning algorithms

- It makes you habitual to pushing bug free code as there is a penalty you give in every wrong submission.

- You have to make sure that you get the submission done is shortest possible time, you learn to execute with speed.

- You have great debugging skills

- Edit (Edge cases as well)

Why Git Is Hard 3 years ago

Yes personally I also can't co relate with git being hard, I mean yes during the initial days of learning you get stuck, but it is the same with everything right ?