338
(page 3) 50 comments
sorted by: hot top controversial new old
[-] buh@hexbear.net 16 points 2 years ago

I like C# and Visual Studio

load more comments (3 replies)
[-] lefixxx@lemmy.world 16 points 2 years ago

I like 1-index because its what I learned first, and you like 0-index because that's what you learned first

[-] warlaan@lemm.ee 12 points 2 years ago

My hot take: There is no such thing as 0-index. If you start with 1 it's an index, of you start with 0 it's an offset.

load more comments (7 replies)
[-] tatterdemalion@programming.dev 15 points 2 years ago

The only thing a GUI text editor can be better at than a terminal editor is making it easier to use the mouse.

load more comments (10 replies)
[-] Templa@beehaw.org 15 points 2 years ago

My experience with people from university is that they have extremely strong opinions about things they don't know very much how they work outside theory. There is this syndrome that you have to do everything from scratch with low level languages and keep shitting on anything that uses abstraction to make your life easier.

I don't know why people in this industry have this need of feeling that they're better than others.

load more comments (1 replies)
[-] onlinepersona@programming.dev 15 points 2 years ago

Composition over inheritance has become a meme that people repeat without understanding. Both have their uses, but if composition is all you use, then you're using a hammer on everything. There is no silver bullet in life and most undeniably not in programming.

Also, electron has a reason for existing. If it didn't have a use, it wouldn't have the number of users it has. You can't tell me in all seriousness that Qt, Gtk, Swing, Tkinter is easier to use than electron for the common developer.

load more comments (6 replies)
[-] bouh@lemmy.world 15 points 2 years ago

Oh I have some!

Computer science is still a hobby and has a lot to go through before it is an actual industry.

Developers are too often bad engineers.

Short development cycles are a bad thing.

POO is trash. It's a manager tool, not an engineering one.

load more comments (6 replies)
[-] Thordros@hexbear.net 15 points 2 years ago

If you can't find where you missed a closed parentheses, just add a bunch of them to the end of your project like this...

)))))))))

... until your editor's syntax helper tells you it's good. I am very good at coding.

load more comments (3 replies)
[-] ennemi@hexbear.net 15 points 2 years ago

DRY means Do Repeat Yourself, when the alternative is cooking up some awful OOP abstraction

[-] secret301@sh.itjust.works 14 points 2 years ago

Abstraction will be the death of traditional software development as we know it

load more comments (6 replies)
[-] StudioLE@programming.dev 14 points 2 years ago

My mantra has always been to bring solutions not problems. Applying that to code reviews makes for a far more productive experience.

Rather than just pointing out errors in code help the developer with prompts towards the solution.

Or, if you're too lazy to explain why something shouldn't be done then why should another developer have to act on your criticism?

load more comments (1 replies)
[-] IonicFrog@lemmy.sdf.org 13 points 2 years ago

A lot of programmers need to work on their soft skills.

load more comments (1 replies)
[-] Floey@lemm.ee 12 points 2 years ago

Write the whole thing, and only then, scrap it and rewrite it. This way you actually have a good understanding of the entire implementation when you are rewriting. When I refractor while writing my draft I will slow myself down and trip over myself, I'll be way more likely to rewrite something I've already rewritten.

Sure there is a limit to the size of projects this can work for, but even for massive projects they can still be broken into decently sized chunks. I'm just advocating for not rewriting function A as soon as you finish function B.

load more comments (1 replies)
[-] WoofWoof91@hexbear.net 11 points 2 years ago
load more comments (2 replies)
[-] silent_water@hexbear.net 11 points 2 years ago

learn Haskell, write better code

load more comments (2 replies)
[-] UnfortunateShort@lemmy.world 10 points 2 years ago

Programming is the easy part, and a useless skill on its own.

If you can only program in one language, you can't program.

C++ is the single best language to learn programming.

Stupid mistakes you make are not bugs, at least not for you.

load more comments (7 replies)
[-] GaveUp@hexbear.net 10 points 2 years ago* (last edited 2 years ago)

Programming is actually hard af to do for any extended period of time (more than half an hour)

It requires such a specific mind that's drawn to all the detail oriented specific robotic parts of coding but almost all coders say coding is easy because the people whose mind don't fit coding already quit long ago

Yes I find coding hard and no I'm not coping

Actually programming being difficult might not be correct but more like programming is largely unbearable

load more comments (3 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 01 Sep 2023
338 points (96.2% liked)

Programming

20858 readers
98 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS