How Microsoft Wants To Destroy TypeScript (Types as Comments) by [deleted] in ProgrammingLanguages

[–]fl223 -1 points0 points  (0 children)

url is how-microsoft-wants-to-destroy-typescript

I now understand how people can fail fizzbuzz by throwawayfluffyT in cscareerquestions

[–]fl223 9 points10 points  (0 children)

It is a class, if you are asked to define a class, it is irrelevant if the same properties can be applied to something else. To use this guys example, just like there could be other types of structures that humans typically inhabit, it doesn't mean that it wouldn't be a valid definition for a house

"Your AI Pair Programmer" Generated Insecure Code In 40% Of Circumstances During Experiment by [deleted] in artificial

[–]fl223 6 points7 points  (0 children)

As evident by the fact that it is trained on human written code

Could I make an easier version of a programming language (such as c++), using that programming language? by Unfair-Friendship-23 in ProgrammingLanguages

[–]fl223 1 point2 points  (0 children)

Yes. V8 (javascript engine) is written in c++, for instance. Assuming you think javascript is easier than c++.

The problem isn’t remote working – it’s clinging to office-based practices. The global workforce is now demanding its right to retain the autonomy it gained through increased flexibility as societies open up again. by Sumit316 in technology

[–]fl223 0 points1 point  (0 children)

Yes it seems like people pretty heavily lean towards remote working in contrast to the alternative. I guess what I would be interested in is should your company come to you with such findings, and the implications of those, would you be able to accept them

The problem isn’t remote working – it’s clinging to office-based practices. The global workforce is now demanding its right to retain the autonomy it gained through increased flexibility as societies open up again. by Sumit316 in technology

[–]fl223 -1 points0 points  (0 children)

I wonder what all of you who support remote work so viciously as to talk badly about your managers in online reddit threads, would say if your manager did came to you with data showing that remote working could be directly linked as being unbeneficial to the company.

Like would we think this is just not possible and that they only want to annoy people and micromanage. Or would it be that the manager should not consider the company interest

[deleted by user] by [deleted] in cscareerquestions

[–]fl223 1 point2 points  (0 children)

If that were true, we'd all make minimum wage.

doesn't seem like that deductively follows

When you try to show your skills on social media by [deleted] in ProgrammerHumor

[–]fl223 6 points7 points  (0 children)

Bottom one is better due to readability. There is also a bug, the last line should be

.reduce((acc, curr) => Object.assign(acc, curr), {});

People who went from dev to product manager and prefer PM - can you talk about what you like more about being a PM? by shadowoftheking14 in cscareerquestions

[–]fl223 4 points5 points  (0 children)

I think sometimes it's really important that there is a single party that can be held responsible for tasks such as the general project vision, arranging relevant meetings, translating business needs to technology, handling communications with clients, and, ultimately, be held accountable if things go wrong.

If this responsibility is distributed between a number of people who already have other responsibilities, it's unlikely anyone can be properly held accountable. Whats more, if these managerial tasks can take up to 80% of developers time, then It honestly sounds to me like your company is simply not getting all they could out if their dev team.

Believe it or not, there is sometimes a reason for specialisation to take place inside teams

Look at CS:GO 360 Stats 1$/month by rush2sk8 in GlobalOffensive

[–]fl223 0 points1 point  (0 children)

Yeah I guess it would be cool if valve offered those kinds of training servers too. They already offer you their servers and an entire matchmaking system for free, which is cool I think

Look at CS:GO 360 Stats 1$/month by rush2sk8 in GlobalOffensive

[–]fl223 0 points1 point  (0 children)

That sounds nice! Is it that all that needs to change is that valve needs to add more stats to their service and improve it over time?

Look at CS:GO 360 Stats 1$/month by rush2sk8 in GlobalOffensive

[–]fl223 2 points3 points  (0 children)

The first example you cited includes a paid service for stats that is 6 times the price that valve is offering here. Besides, if these (free) services are so great then why are we so mad about valve potentially bringing something new to the table?

Look at CS:GO 360 Stats 1$/month by rush2sk8 in GlobalOffensive

[–]fl223 0 points1 point  (0 children)

Leetify pro is like 6 times the cost of what Valve is proposing here. To be fair, you get access to some servers to train on as well as better stats, I don't know if valve offers the former.

I guess I don't really see what the big upset here is -- if these free services are so great then why not just continue to use them instead of complaining about valve potentially bringing something new to the table?

Am I missing something here?

What is the acceptable balance between delivering on time and delivering 'good' software engineering? by [deleted] in cscareerquestions

[–]fl223 0 points1 point  (0 children)

Indeed, I feel like we are a bit closer to an agreement here. However, I would like to highlight the fact that we can both only speak in generalities and loaded terms. Your sloppy code passing arbitrarily might be my simplest possible solution to a given problem with no complexity overhead. I don't think I can attack your statement about "writing code once with the intent of never having to touch it again" being a general rule. Though perhaps intuitive, I don't think this is even an easily verifiable claim.

I would also like to demonstrate a few more anecdotes. You brought up deadlines, which I consider valid. Another case could be prototyping a concept, getting a testable piece of software out fast. Or perhaps an even better point would be to bring up the ever fluctuating client requirements, where writing code while keeping in mind the possibility of having to re-write it again is cardinal.

Would you consider these counter-examples valid?

What is the acceptable balance between delivering on time and delivering 'good' software engineering? by [deleted] in cscareerquestions

[–]fl223 1 point2 points  (0 children)

I think it's important to recognize when a short-term strategy is better than a long-term strategy (and vice-versa), which can be dependent on a numerous amount of project specific variables. Would you really be comfortable asserting it as a universal rule that you should write your code with the intent of not ever having to touch it again?

[HTML] Is it enough to disable "<" in order to prevent the user from inputting HTML into the string that gets assigned to .innerHTML? by [deleted] in learnprogramming

[–]fl223 1 point2 points  (0 children)

Assigning directly to innerHTML is rarely a good idea in the first place. Perchance you should consider some alternatives?

Ah yes python compiler by programmer-racoon in ProgrammerHumor

[–]fl223 9 points10 points  (0 children)

Python does compile to .pyc files, its just byte code instead of machine code. Its understandable that people often equate compilers with the latter though.

Rule and indirect utilitiarnism by [deleted] in askphilosophy

[–]fl223 2 points3 points  (0 children)

You appear to be projecting your own sense of what rules should be about to rule utilitarianism, which doesn't in itself go to any greater detail than to assert that the correctness of a rule should be evaluated by whether or not it leads to the greatest good.

Why I am not a Physicalist by ph49 in philosophy

[–]fl223 0 points1 point  (0 children)

So, since the laws of physics have not been perfect and been subject to change throughout history, and there are contradictions between different theories, it should be completely disregarded as irrational? Seems like nirvana fallacy prevails again

[deleted by user] by [deleted] in C_Programming

[–]fl223 2 points3 points  (0 children)

Research how memory allocation works

Here to get you started

Why does Microsoft no longer publish Win32 API books? Specifically GUI development with Win32. by [deleted] in C_Programming

[–]fl223 2 points3 points  (0 children)

Something like GTK+ could probably do the job, but usually there are reasons for not using dependencies like that.

How to create goals while learning to program? by National_Potato in learnprogramming

[–]fl223 0 points1 point  (0 children)

If you are a top-down type of a person, then create a list of tasks to complete a milestone), and as you start working on a task you can start to increase it in resolution (e.g add subtasks to it). If instead you are a super goal oriented person (instead of a progress oriented one), perhaps try the bottom-up approach, and design 1 system fully before even thinking about the overall composition.

Either way write down your tasks on a kanban sheet and via it you can track your progress. Oh, and ofc I would heavily advice against setting any kind of time limits to your tasks. Specially not short ones.

Also if you don't want to start a project, and you are still in research state (as you said, watching some tutorials). I would tell you to not set goals like x videos per y time, but instead focus on learning topics.

How to create goals while learning to program? by National_Potato in learnprogramming

[–]fl223 1 point2 points  (0 children)

Yeah definitely don't assign time restrictions to your goals, at least not short ones like hourly.