Hacker Newsnew | past | comments | ask | show | jobs | submit | gere's commentslogin

What did you do to bridge the gap between small portions of code and real software?

think of any type of software project, it's just a lot of functions calling to each other, getting that to scale without becoming a mess was really hard to me, so what I did was that I started to try different architectural patterns to see what worked for me, my current coding style is a mix of 1) functional programming, 2) hexagonal architecture, and 3) test driven development; and I found that object oriented programming is not good at all it causes plenty of problems as the codebase grows, I mention OOP because is one of the most mentioned ones but I think is not that good.

I develop in TypeScript, so I use the library Effect plenty of it follows functional programming principles, it also has dependency inyection with the objects Context and Layer which can be used for hexagonal architecture and for test driven development I use vitest


I am in Germany and (unfortunately) I have received the email yesterday.


Fake news with really bad taste given the current situation in Lombardy.


This is a sensible advice, but how do you recognize an easy programming job?


There are (at least) two ways in which a job can be "hard":

1) Technically. Having to constantly learn new things, new technologies, etc. Unable to rest on your laurels. Learning new things can be very rewarding from a career growth standpoint, but it can also leave you drained at the end of the day.

- Avoid a technically challenging job by choosing one which is in your skillset, and unlikely to change. For instance, if Java is your thing, find a back-end Java job at a big company (startups will often ask you to change roles and learn new things).

2) People. Dealing with shitty bosses / managers / coworkers can suck the "easy" out of a job and make it very challenging to get anything done.

- Try to get a feel for the leadership in your interview process. The interview should come off as warm, and inclusive, even you aren't doing well. Overly complex questions, riddles, or hide-the-ball interview tactics generally come from insecure interviewers.


It's hard to from the outside, but I would guess the biggest factor that correlates with easy is amount of red tape. The more bureaucratic, the more non-work is done in place of actual work, the easier the job.

So I'd say large corporations or government jobs would skew easier. Maybe work for a large government organization?


less then 5 days/week helps


Running xdebug on the console, for debugging artisan commands

https://gist.github.com/carbontwelve/9089985


Personally, I liked more the Slate version from an editorial point of view. Since there was no lifting involved and the Slate version is stuffed with links to the original version, I made a choice. Ironically the Atlas Obscura Facebook page links[0] to the Slate version.

[0] https://www.facebook.com/atlasobscura/posts/1015244661763772...


Now it's up again...


Well, the line between bad business decisions and criminal behavior is not that thin in this situation. I'm not an expert on this financial crisis, but here we are talking about hiding the truth to investors and the general public, and make someone else pay for your riksy decisions. Those are not "bad business decisions".


What do you mean by "hiding the truth"? If I think Facebook stock is going to go to shit, should I tell you that before I sell you my shares? If I'm the CEO of Apple or Wal-Mart or Amazon, should I be held criminally liable for contracting to aggressively shift risk from myself to suppliers?

The line between aggressive business decisions and criminal ones can be a thin one. Financial crimes are in fact a relatively new invention. Did you know that at common law, embezzlement wasn't a crime? It took a long time for the law to come to terms with the idea that there should be anything illegal about doing something with money someone voluntarily gave to you.


There is also the nice CProfile [0] that comes with the Python Standard Library. It does more or less what the mentioned line profile does, with the bonus that you don't have to install another package.

http://docs.python.org/3.3/library/profile.html


This comment is wrong, but it can be a good starting point for what I want to say: it's very likely that in life people will pick on you for what you are. I've been tormented at various degrees because I'm short, or because I'm shy and introvert, or because I sort of like math. I mean I have been called a "pain in the ass" because I said that I don't like dubbed movies (I live in a country were dubbed movies are the norm). And all this in important settings like school and work. And not only by my peers, but also by teachers, boss and managers. But I'm not here to complain. What I want to say is that if you post photos of yourself and you are a nice lady, someone will pick on you for that. That's very sad, but it's the status quo. The hell if I know what are their reasons. But I know why they do it: because it's easy and it hurts. They don't pick on you for your work. It doesn't hurt that much and they could end helping you, pointing out one of your errors. But if it is your body, your beliefs, your personality they will do it. That's an easy bet.

So do I think that ladies shouldn't post beautiful photos? No of course, go on, you are hacking the system. You are getting a lot of good attention for that. But as always there are trade offs. A couple of weeks ago, here on HN someone complained because a young user posted something like: "I'm 14 and I developed an iPhone game". What's wrong with that? You did something and you want to advertise it. Saying that you are a young developer is a very catchy. And posting your photos is very eye-grabbing. Sort of refreshing after the n-th post about "beautiful typography" or whatever. Now, about the state of the industry. The only way to change things is for women to stick out and speak-up. Please don't hide. Soon or later things will change. I can imagine that 150 years ago, female teachers weren't as respected as men. Now, at least in my school experience, men were often the less respected one. While women were feared by students. Thing's will change, hopefully sooner than later.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: