|
These are arguments: static void Main(string[] args) {}. Inside a class a function is a method and not a function.
But I see often that those arguments are called parameters. Why? We call a method with parameters and not with arguments.
Inside the method parameters become arguments, Isn't that true?
|
|
|
|
|
Quote: When a parameter is passed to the method, it is called an argument.
C# Method Parameters
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I had to look it up for C++ to discover that it uses the same terminology. I've often used them interchangeably and wasn't sure if there was actually a distinction. So thanks for teaching me something today.
|
|
|
|
|
Thanks for the kudos!
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
The variables defined in the method (A.K.A. function) signature, are known as parameters of the method,
the data passed to those variables when call upon are the arguments...
Difference Between Argument and Parameter | Compare the Difference Between Similar Terms[^]
In the static Main method we define a String array named args because when an app is generated,
and after, executed with arguments, there it will be where those program arguments will be set into!
|
|
|
|
|
Why not rename REST to REDT? State is data, isn't it? And we don't know what state refers to in REST, don't we? Thanks.
modified 9-Dec-20 18:26pm.
|
|
|
|
|
|
If you think state is data, chances are you are committing the cardinal sin and just doing CRUD over HTTP. State is about more than data, it helps to represent a state machine telling you not just what the current state is, but if you use HATEOAS, it tells you what operations you can do next.
|
|
|
|
|
It is as though somebody meant ESTABLISHED were free market dynamics for information networking, but although they never caught up with handshaking, many cases are logged trying to find out if OPTIONS was really a communist ideal.
|
|
|
|
|
I have made a simple C# web scraping application, strictly for personal use, that searches car rental websites and then combines the results into a single html-webpage. Now I would like to take this one step further and have the following features:
1. Make this accessible in my Android mobile phone as well, in addition to on my Windows computer.
2. Add GUI components (buttons, checkboxes, comboboxes, etc for filtering, sorting, mark favorites, etc) that can call client-side functions/methods (btw, there is no server).
What's the recommended way to accomplish this? I think it's kind of convenient to keep it as an html-webpage because I get some things for free (e.g. text search, print to a printer, copy-and-paste, etc) but it seems it's not possible to make the GUI-components in an html-webpage trigger client-side functions. I expect to add features as time goes by so it would be nice if those changes are as similar as possible in both the Android app and the Windows application. If I am allowed to choose, then I would prefer a programming language as similar to C# as possible because that's what I'm most experienced in.
|
|
|
|
|
Load all your "stuff" into a cloud drive; for all intents it's static content you're outputting. Then you can "browse" it with all your mobiles / PC's.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Let's assume my web scraping applications find 100 rental cars and then it creates an html-document containing those 100 rental car offers. Now, let's assume I want to filter to only show the 10 cheapest cars, where would this be done? Would the cloud drive create a new, smaller html-file or could the html-file do this by itself somehow when I click a button?
|
|
|
|
|
How can a "cloud drive" manipulate data if it is "serverless"? (i.e. dumb)
Any filtering / sorting would have to happen on the client; so to get "10", you need to download the whole "100" first.
"Serverless" is an illusion; like the future.
(Better yet, store CSV's one can open and manipulate in Excel)
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
What different programming languages, triggered from a button within html, can perform the sorting/filtering on the client side?
|
|
|
|
|
And language that can consume the DOM: C, C#, C++, VB, VB.NET, Java, Excel (VBA), blah and blah.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Could you please provide some example code or refer me to a beginner's guide (on the Internet) on how to implement the client-side Filter-10-Lowest-Prices-button event handler so that it ends up calling a method in C# that then modifies the html? What are the steps necessary in between?
|
|
|
|
|
In your case, since Excel runs on Android and Windows, all you need is an Excel spreadsheet with your "100 cars" to support "roaming data"; anything else would be over-kill. Add some VBA for a "smart document".
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Ok, so you're suggesting I abandon the thought of using a webbrowser+html-file and use an Excel-sheet instead?
|
|
|
|
|
Based on your requirements, use Excel. Your initial "solution" was premature.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
It seems Excel on Android doesn't support VBA...
|
|
|
|
|
Office Scripts: The future is here
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Please correct me if I'm wrong, but Office Scripts appears to be introduced in Office 365 and to get Office 365 I would need to sign up for a subscription (I can't buy it once and be done paying money to Microsoft for Office 365)?
|
|
|
|
|
This goes beyond "design and architecture". I'll stop now.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
|
Good evening,
This is a very broad question, and if somebody deems it be moved to another board then please feel free.
I am am Filemaker developer - love the platform - has lots of great features... except the price. For me to host a database - for say 20 simultaneous clients - it will cost me (well, the client) a fortune. Cost prohibitive really for this setup.
I'd like to see what other people think of various platforms to use to draw up databases on a Linux box, and have a browser at the front end - suitable for mobile devices too.
As I say, this is a broad question, so I am open to all (polite ) suggestions.
I'm not stranger to coding and able to learn new languages.
Can I get some opinions please?
Thanks in advance.
Greg
|
|
|
|