>smaller startups and solo devs blogging insights from developing own products
I feel like those are different things.
1,007 karma · joined May 15, 2020
>smaller startups and solo devs blogging insights from developing own products
I feel like those are different things.
I don't think people who build their PCs must pay for Windows, I weren't forced.
But probably laptop market sucks.
I'm shocked they already do not do it
what makes you think so, actually?
once regime changes
It's beautiful thing that managed to enable milions of people to express more or less complex reality inside computers.
Sure it has it's quirks, something could be done better in $language, but that was decision/vision of $language design team how do they interprete object oriented programming.
The bad thing is that it is incredibly hard.
OOP and SOLID are kinda "basics of programming", yet those are incredibly difficult.
You need to have a lot of hands-on experience with creating software, modeling systems in order to make it good (maintainable, sane, easy to understand, consistent, testable, yada yada)
Simon Peyton Jones (Known for Glasgow Haskell Compiler) - Haskell is useless https://www.youtube.com/watch?v=iSmkqocn0oQ
>Why is mutable state such a big problem? The human brain is the most powerful machine in the known universe. However, our brains are really bad at working with state since we can only hold about 5 items at a time in our working memory. It is much easier to reason about a piece of code if you only think about what the code does, not what variables it changes around the codebase.
Isn't this part more about code "branches" instead of mutating state?
>Yes, one can pass immutable objects to methods in Java/C#, but this is rarely done since most of the developers default to data mutation.
Maybe because language designers didn't provide them right tool that'd enable their OOP vision to be more handy?
It's seems like there work being done that want to make this better in C# world.
>You, as a person, don’t have a “write” method either — you make the decision to write some text based on outside events or your internal thoughts
Why you don't have "write" "skill"/"ability"/"method"?
>Some people say that private methods shouldn’t be tested… I tend to disagree, unit testing is called “unit” for a reason — test small units of code in isolation. Yet testing of private methods in OOP is nearly impossible. We shouldn’t be making private methodsinternal just for the sake of testability.
"test small units of code in isolation"
everything is about how you define "unit"
"nearly impossible"
I bet that even C# and Java provide "hacks" to OOP to test private methods.
>public class InputValidatorFactory { public IInputValidator CreateInputValidator() => new InputValidator(); }
You don't need factory, so in smaller version you added 6 lines of code (interface and impl) which allowed your code to be more flexible, I'd say that this is reasonable trade-off, but what if instead of interface, then you used function? like Func<T, bool> as argument, but maybe not to btnAddClick, cuz it's bad method anyway, but to some validate method.
Func<string, bool> predicate = str => str.Length > 5;
myFunction(predicate);
So maybe OOP could be ""fixed"" by just introducting a few FP features? e.g C# - LINQ (not mutating state) and stuff like delegates, records, discriminated unions?
>TransactionAwarePersistenceManagerFactoryProxy or RequestProcessorFactor
>https://www.reddit.com/r/ProgrammerHumor/comments/418x95/the...
>Further reading: FizzBuzzEnterpriseEdition
Of course you can make OOP look dumb if you'll use example that were created with that purpose in mind.
OOP itself doesn't force you to use things like TransactionAwarePersistenceManagerFactoryProxy that people meme about it being common within Java world, but I personally don't think I've witnessed stuff as hardcore as this in C# more than once, twice or thrice.
One of the things:
How safe do you feel going from e.g pub/cinema/blabla to your home at 01:00?
It's not perfect proxy, of course.
You think devs in Silesia earn something even close to 20K and aren't giant outliers?
It's like saying that SF salaries are normal in US
Why devalue or dehumanize?
I tend to view "being outlier" as something positive
lmao software houses in Eastern EU jump straight into day-to-day stuff, 99% of the stuff was normal development, that 1% was just for lulz, to check whether you heard about stuff.
0 algo questions.
I'd rather not
How do you distribute your frontend with LLVM?
Let's say that I have lexer, parser and emitter written in e.g Haskell (random example)
I emit LLVM IR and then I use LLVM to generate something other
but the problem is, that I need to have LLVM binaries and I'd rather avoid telling people that want to contribute to my OSS project to install LLVM because it's painful process as hell
So I thought about just adding "binaries" folder to my repo and put executables there, but the problem is that they're huge as hell! and also when you're on linux, then you don't need windows' binaries
Another problem is that LLVM installer doesnt include all LLVM components that I need (llc and wasm-ld), so I gotta compile it and tell cmake (iirc) to generate those
I thought about creating 2nd repo where there'd be all binaries compiles for all platforms: mac, linux, windows and after cloning my_repo1, then instruction would point to download specific binaries
How you people do it?
I'd really want to see that setup and benchmark
Have you tried writing your own interpreter?
What so bad about having to tell what you've been doing yesterday? one up to few sentences per person, 10-15min max?
Let it be Winforms or WPF.
yc circle 15 years ago was apprently something different, something that reading about it now screams `wtf?`
feels like religious community
what is this?
did Intel skip 7 and 5nm?
Almost always when somebody shits on Visual Studio s/he either uses C++
(and there's significant difference apparently between C++ and C#) or used it with Resharper, or without any extension/addon at all.
Just try Roslynator if you haven't used it yet.
Wouldn't you be worried that it could affect that friendship?
I guess the reality is that huge majority of customers in those shops aren't proficient at technology at all,
so it's incredibly good bet that customer has no idea what s/he's doing.
Just be like this girl :P
https://www.youtube.com/watch?v=7q89tdSjE-0
>Learning a sport or video game: I try things out to understand what happens when you do them, which often results in other people thinking that I'm a complete idiot when the thing is looks stupid, but being willing to look stupid helps me improve relatively quickly
Overall author came up with this concept of "looks stupid", yet it does already exist as "failure teaches more" or just "curiosity" in my opinion.
Overall2:
Maybe
Why Is It So Hard to Be Rational?
https://www.newyorker.com/magazine/2021/08/23/why-is-it-so-h...
why wouldnt it be possible to train on it?
>Grzegorz (name changed) works in Amazon's warehouse in Sady near Poznań, who agreed to anonymously tell about the events of the beginning of September. - I remember that the day before, on September 5, this man asked the leader to assign someone to help, because he was not working anymore - he says. - The leader refused. The man who died later was to go on the next day with a complaint to the OPS manager, i.e. the main manager of a given department. He did not make it anymore. He was a very hardworking man. I wouldn't be able to refuse him anything. When he had breaks, he ate a sandwich and quickly returned to work. Look for such people with a candle. It really turned out what kind of insurance we have. We are meaningless pawns.
>According to Grzegorz, one piece of information has not been made public.
>- The very beginning of this event was not treated as an approach of man to man. The man, who reported the problem with catching his breath, was walking to the rescuer on his own quite a long distance, from point A to point B. It was a culpable mistake. In case of shortness of breath, he should not go there. The leader was walking beside him, but he was not helping him, not even as a support. Due to the safety rules related to COVID-19. It was the same leader who had refused to help the man the day before. They treated you like garbage, like typical waste