user-ava

bed_monster420

Best Practices for Struct Tagging

Hey folks, I'm building a Go API, and I'm working with struct tags to handle JSON serialization. Are there best practices for struct tags in Go, especially when dealing with nested structs?

post-img
user-ava

oiled_baby

(Controversial) Do We Really Need OOP Anymore?

In today’s world of functional programming, microservices, and flexible scripting languages, OOP’s rigid class hierarchies and inheritance can feel limiting and unnecessarily complex. Many modern applications benefit more from modular, stateless functions and data transformations that are easier to scale, test, and adapt, suggesting that we might be better off focusing on simpler, more adaptable paradigms rather than strict OOP. SO WHY DO WE NEED IT ANYWAY ???

post-img
user-ava

batyr1337

Error Handling Patterns

I'm learning Go and noticing it handles errors differently from other languages. I’m wondering if there are any recommended patterns for managing error handling gracefully, especially in larger projects. Would love to know what’s worked for you all

user-ava

meiramura

no to shit posting

i am joking, you are allowed

user-ava

mustafa_hater

Комната главного админа раббита

Ну это что-то с чем-то, ну типо c'mon, займись жизнью чел

post-img
user-ava

narutouzumaki

Главный админ раббита

Я хакнул вебку главного админа этого форума, только посмотрите на эту жирную тушку #bosskfc

post-img
user-ava

dinarka

Форум на самом деле неплохой

По дизайну вообще прикольный, по функционалу конечно скудноват, но для начала пойдет

user-ava

narutouzumaki

If Anime Characters Were Programmers, What Would Their Coding Styles Be?

Hey everyone! As a big fan of both anime and programming, I thought it’d be fun to imagine what type of programmers our favorite anime characters would be. For example: Light Yagami (Death Note): Probably a backend developer with a talent for writing incredibly complex algorithms. He’d definitely be the one creating secure systems but with a dark twist! Naruto Uzumaki (Naruto): Full-stack developer with tons of energy! He'd be all about collaborative work, tackling problems head-on, and finding creative solutions. He'd be the one bringing team spirit to the office! Levi Ackerman (Attack on Titan): I see him as the quality assurance master. He’d make sure every line of code is spotless and probably wouldn’t let any bugs slip by. Super strict about code quality! Who else would you add, and what would their coding style be like? Let’s see how many creative responses we can get!

post-img
user-ava

yourwifipenetrator_aka_danik

WIFI Security tips

Hello to all the pathetic creatures that inhabit this forum. Today I am sharing with you, the brainless, security tips for your home Wi-Fi: Change Default Credentials: Always update the default username and password on your router. Use Strong Encryption: Opt for WPA3 or at least WPA2 for better security; avoid WEP. Regular Firmware Updates: Keep your router's firmware updated to protect against vulnerabilities. Disable WPS: Turn off Wi-Fi Protected Setup to prevent brute-force attacks. Monitor Devices: Regularly check for unauthorized devices connected to your network. Conduct Penetration Testing: Use tools like Aircrack-ng to identify vulnerabilities in a controlled setting.

post-img
user-ava

miramurka

am I lazy or time travels really fast?

I've got something interesting about this and only 2 of my last brain cells can tell me that I'm on the wrong path

post-img
user-ava

ornat

Maximum Subarray Problem

Here's a fun one: How would you solve this problem in O(n) complexity? 'Find the maximum sum of subarrays in a given array of integers.' Share your approaches!

post-img
user-ava

ornat

Binary Search

Could someone review my implementation of the binary search algorithm? I'm unsure about its efficiency and could use some feedback!

post-img
user-ava

CodingHater

write the code like mine

It's working that's all that matters

post-img
user-ava

Ramazan

Bugs

When you know how to genuinely play with bugs!

post-img
user-ava

jojoenjoyer

database quories optimization

Does anyone know the best way to optimize database queries in PostgreSQL? I've tried using indexes, but it's still slow.

user-ava

jojoenjoyer

Struggling with Debugging Techniques? Let's Share Tips!

Hi everyone! Debugging is something we all face daily. What are your go-to methods when troubleshooting? Do you prefer logging, using a debugger tool, or something else? Share your best tips!

post-img
user-ava

batyr1337

[Go] Suggestions for Testing HTTP Handlers

Hey there! I’ve built some HTTP handlers in Go and now need to write tests for them. What's the best way to mock HTTP requests and responses in Go? If anyone has tips or libraries to recommend, I'd really appreciate it

post-img
user-ava

Ramazan

programming world

Hello, Universe

post-img
user-ava

batyr1337

Cloud Computing project issue

Has anyone encountered this problem? I'm stuck on phase 2 of the project because of this, the EC2 instance just loads, but the content of the database deployed on it cannot be displayed, please help ;-(

post-img
user-ava

adilbek

Endterms are awful

you can't deny that endterms are just something that we've just used to, but in fact they're just a piece of evilness that come from a bigger source of evil - University itsef

post-img