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

This is a waste of time. No One I've ever seen uses getName.

It's always name.

Also, most of this is useless overkill.

If I have, in this case, a person object, I'm doing two things with it. Displaying it. Editing it.

If displaying, who gives a crap of its mutable? If I'm editing it, why are you wasting memory making a copy?

This just makes life way more difficult in most business apps.

Sure, if you NEED this, go for it. But for everyday bog standard business apps? Get the hell away from me.


To me, much of this just gives away a lack of experience.

Have you never hit a bug because an object mutated unexpectedly? Please do keep this in mind when you do, and spend hours of your life trying to hunt it down.

When you've done this 8 or 9 times after wasting days of your life debugging, you become enlightened to the joy of immutability. It's worth the tiny memory overhead.

Beyond that, get* is everywhere in of corporate OO especially in more classical OO languages. I'd argue the right way to do things as well, naming methods as actions, but that's a separate issue.


This was born from needs in the bog where standard business software lives.

Sure, you can have naked attributes, but you'll be sorry once they aren't enough and you now have two parallel ideologies seeping through your software, increasing the risk of bugs. Concurrency and collection attributes are the common reasons you'll want getters, possibly also setters.


Qmodem was frickin awesome.

Myself and several friends used it exclusively back in the BBS days. Rest in peace.


Location: New Jersey, US Remote: Only. Willing to relocate:no Technologies: .Net from 4.8 up, .Net core, MS ( M$ here :-) ) SQL Résumé/CV: https://rhousedorf.github.io/resume/Robert%20Housedorf%20Ii%... Email: qryxjj7s@duck.com

20+ years of M$ technologies. Excellent client communication skills in order to create efficient code that meets the needs of the business, including scope and risk management and setting business expectations. Agile development practices over several years, GIT, Jenkins CI/CD. Basic familiarity utilizing ChatGPT and other LLMs to assist with .NET code development. Visual Studio, MVC, Entity Framework, ASP.NET, C#, VB.NET, .NET Core c#, XML, Microsoft IIS install, configuration and troubleshooting, SQL Server Administration and Programming/Design, Windows Server install and configuration, TFS, Git, troubleshooting, performance monitoring and debugging with a broad range of tools, Log4Net, Hibernate. Docker, .NET Core, HTML, CSS, jquery & Bootstrap familiarity.


I had already installed the UEFI USB image. i got multiple virus warnings d/ling the universal USB image.

Got a bit freaked by that, trashed the usb stick, but it changes the partitions on you and LOCKS them. turned a nice sandisk 64GB into a 126 Mb stick.

computer management would not fix it.

I ended up going oldschool with diskpart, and good old delete part override cleared up the shenanigans.

USE AT YOUR RISK.

at the very least, run whatever .7z you choose through virustotal.


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

Search: