Maybe they see OP as the best candidate for an audit or code review, who has good enough skills, has time available, and is an internal resource
Maybe they see OP as the best candidate for an audit or code review, who has good enough skills, has time available, and is an internal resource
Can you give some examples of other tools for the job you’d rather use, which can be self hosted?
Keeping the clean version around seems dangerous advice.
You know it won’t get maintained if there are changes / fixes. So by the time someone may needs to rewrite the part, or application many years later (think migration to different language) it will be more confusing than helping.
Since the source is XML XSLT may work to transform it.
If it’s a microservice architecture using something like openapi and code generators could be a solution. Then the proper classes / types are created during the build step.
Does not avoid the fields being unused, or service B using an older version before being rebuild.
The approach would be similar as a library, but works across different languages while changing the definition only on one place.
deleted by creator
That was a decade or two ago. Now you need a react SPA webapp using angular and Rust and utilize the bandwidth of the Cloud with machine learning. To find the IP.
Easy access to small snippets of code you often need, but putting them in their own library would be crazy.
Depending on the IDE snippets can also move parts of the code around: (intellij live templates)
Also bike shedding. Simple stuff may get many people willing to review / argue about how you should have used A over B, or even C
Big / complicated projects - forget it. Especially if if they would need major refactoring.
Not exactly what you want, but plug-ins like sonarlint can nudge you in the right direction.
The variable is set once, but the if expression is still evaluated every time (unless the compiler can optimize it)
(edit after skimming the article: yes,using the variable would solve the problem of the last example)
So there would be the branching overhead in every iteration. But that’s something the cpu branch prediction should cover, especially since the taken branch will be identical in every loop.
Same also applied to the implied condition to break the for loop (only the first few and last iteration should be wrong predictions)
How was the process of learning it / getting good for you, as it can be really frustrating in the beginning?
Look at the screenshot at the beginning of the article. Every possible state is stored in a div, with the state encoded in its Id. So it’s possible to reuse such “duplicate” states.
Strictly speaking, it would not be allowed for the same ID to occur multiple times.
Concepts still apply, so for a beginner an outdated book would still be a valuable source.
From there you can get up to date with the newest features with articles / tutorials. Cloud services probably should be first thing you develop for.
Would have thought mathematicians would be slightly better at writing functions
Think of it more like bigger building blocks rather than single use functions. If there is an issue with the pizza arriving burnt black at the customer you don’t want to read through the logic for making the dough and adding toppings if the most likely cause is the oven.
Sure, you could add comment blocks to mark the sections. But you can’t easily jump to that exact point. With function names you can easily skim over the unimportant calls, or go through a list of functions/methods in the file and jump there directly. With comments that’s not a standard feature in IDEs.
Also that function does not scale well if you have more than 2 options of toppings. Maybe some are not compatible and logic needs to be added that you don’t use pineapple and banana on the same pizza, for example.
But I understand your argument about following through multiple layers of abstractions. That’s something that irritates me as well a bit, if you follow a function, that does nothing, but pass the same parameters through another function and return the result.
No guard clauses, or changes to the data, just 1:1 pass-through. And this them goes 2-3 levels deep before reaching real code again. Bonus of they all are in different files too.
The 2nd is the style guide used in C#, and therefore what you’ve encountered in unity.
Maybe also bias by the number / experience of people using it.
1st semester students getting shocked by public static void main(String args)
and meming it on the internet.
Go on the other hand likely isn’t a common choice / option for a first language.
import codegolf
codegolf.challenge1()
At least in the future copilot could navigate you to the settings in the different places 😅