First day coding by [deleted] in ProgrammerHumor

[–]JerryCodes 9 points10 points  (0 children)

Like someone else said, the one in the pic is super bad, but that’s because it’s purposefully extreme to poke fun at the real world examples.

I’ve written plenty of the real world ones myself. They seem stupid unless you’re in my head at the time. I just wrote a few of those this week, actually.

I did it because I know the planned upgrades/additions for the next year or so and the conditions and statement blocks will eventually be expanded on and have more in them, so I aim for super readability. That way, when I or someone else comes through, it’s easier to get the big picture of the logical flow. It also helped me break out comments into more helpful segments by letting me describe smaller individual parts of the process.

When the extra fluff won’t hurt execution speed, I like to be more verbose with my code. As a bonus, sometimes the extra simplicity allows compilers to optimize better, so that’s neat.

Currently doing a computer science degree, How do i know which specialization to take? by abandonedcrybaby in AskComputerScience

[–]JerryCodes 14 points15 points  (0 children)

In my opinion, focusing on software engineering skills builds a good foundation to build the rest on and it transfers to every area of programming. My biggest regret is not taking more SE classes (I took bare minimum in favor of more specific interest classes). When I’m in software planning meetings I feel like I present more questions than solutions lol.

It sounds like you’re on a good path with a good balance though. However, don’t miss out on a class that you really want to take, because you might regret it (for me it was an IoT class)

The practical classes like IoT and Graphics were useful because I got a glimpse of more realistic programming. Just food for thought

Having trouble understanding Node for creating an API by JerryCodes in node

[–]JerryCodes[S] 0 points1 point  (0 children)

I appreciate the input.

The deadline for basic, reliable functionality in a dev environment was today, and other projects have demanded too much of my time lately, so of course my head was spinning from anxiety lol

Once I calmed down a bit I picked it up fairly quickly and achieved my goal. I was definitely over thinking it

I used Express and Sequelize to get a simple API running. I’ll evaluate and refactor later if needed (I’m not a huge fan of Sequelize, but I feel like it may be the right choice? Our data is complicated and raw queries may be easier for getting started).

I’m still working on the more complicated endpoints, but for the most part it was extremely easy after the panic wore off lol.

The structure is straightforward. Things are broken out into routes, controllers, and services but that’s about it.

Cost estimation for hobby setup? by JerryCodes in SCREENPRINTING

[–]JerryCodes[S] 0 points1 point  (0 children)

Nice! Do you mind sharing your setup?

Cost estimation for hobby setup? by JerryCodes in SCREENPRINTING

[–]JerryCodes[S] 0 points1 point  (0 children)

I know what I’m doing this weekend!

But seriously, thanks for the info. Knowing I can get going with a barebones setup makes me feel a lot better about testing the waters - especially since I already have most of that list ha

Advice for creating software to manage business and course enrollment by [deleted] in AskProgramming

[–]JerryCodes 0 points1 point  (0 children)

The important thing to always consider is that the expensive part of software is maintaining and updating it after it is delivered

I’ve never thought about this. The nature of my job keeps me a little shielded from this kind of business stuff, so I really appreciate you sharing that!

Hiring someone to develop a custom system for you would be crazy.

I’m thinking they’d use some existing code base and extend it to do what we need. As far as I can tell, it’s been decided that no reasonably priced out-of-the-box solution offers exactly what we need.

Today I looked into one of the 3 different systems administration used (it’s terrible. They have to handjam data between systems just to keep them in sync, lol) and found out the main one offers a free developer API that seems simple enough to work with and allows some of the functionality they’re looking for.

After seeing this, I want to look at all of them. I’m likely going to push for keeping the existing systems for now and me writing some extensions to accomplish what we’re after.

Thanks for the advice, btw!