Yes, I miss your point. No idea if your code examples are formatted wrong (and no idea what a stride is, either)... your examples are completely irrelevant. Click a random page on Amazone.... there wont be anything in the processor cache of the machine handling your request, relevant to your request. The last time I had to work on an algorithm were it turned out, optimizing for the cash made sense, was the early 1990s. Your millage may vary...
But so many people base their entire work efforts around google results You must be very unlucky. I never worked in an environment where it was remotely possible that you could find the solution of a business requirement via google or stackoverflow. Technical questions you can google, solutions for business requirements usually not.
Multiple choice tests are easy to 'cheat'. And I never heard about a stupdent who had so bad hand writing that he could not write in 'printing letters'.
No that did mot pass as CS education, that was an example where an IDE is super usefull, and saves an hour every day by not needding to type stuff, the IDE can do automatically. And nothing magically or AI about it.
First of all I don't rely on an IDE. Secondly your claims are nonsense. No one is 'fixing' a Java, C++ program installed on a production system with SSH and VI. Chances are: there is no compiler on the production system. Definitely there is no build system. Most certainly the test code is not available on the production system. And yes, I can use SSH and VI, chances are: if SSH is working, I actually migt have an internet connection. So I still can google. Chances are I have a tablet with me, and can at least google on that to handle problem I might encounter.
You know, when you have an apendix problem, every old school doctor knows how to make the diagnosis. Without any tool. Nevertheless every modern doctor will cross check his old school diagnosis with an ultrasonic.
No idea how people can get as old as you and stay so dumb.
C is abstracting away only two things: the names and amount of registers, and the way how you call functions/use the stack. It is considered by academicsnot to be a high level language Of course you could disagree... that is up to you. But might lead to strange eyes when you get a bad grade in a test..
C is not a high level language. It is neither you nor JQP who makes those definitions, it is the professors in he universities giving CS courses.
You could nitpick that ANSI C has evolved far from old school K&R C, however K&R C was just a portable assembler, it was designed to be that.
There are people arguing that only languages like Lisp, Prolog, Haskel, OCml, SQL etc. are *really* high level languages. In other words: not even Pascal, C++, Java, C# are high level languages.
Because Java has a "normal" Date class in: java.util.Date. The SQL/JDBC/ODBC package has a Date class to treat dates coming from databases or get stored there: java.sql.Date. Then as the java.util.Date class has several shortcomings (stupid API for one), most modern developers use the "Joda Date" library, which is now basically incorporated into Java 8 as: java.time.*
Point is: I do not expect a developer to know exactly the name of a package to type "import java.util.Date;" and make no typo, when the IDE does it automatically and shows that he has several classes to pick from to do the correct import.
Another point is: modern Java IDEs are so advanced that people who never used them actually have no clue what power they have.
It is plain stupid to develop in Java (or C#) or other languages on those eco systems without using an IDE.
No, VATs are generally done IN ADDITION to income taxes. No, they are not. You pay them on the bill when you buy a product or a service.
Your proposal is the exact same thing as VAT.
The FairTax, by contrast, simply taxes all products, both foreign and domestic, at the same rate over the counter and is applied at the cash register. That is exactly how VAT works...
Wow, you make people write code like this?
this.x = 0;// superfluvious... it is initialized to 0 by default.... public B() {
super();// superfluvious, the super class constructor is called automatically
inc();
}
If you would ask me stuff like this I would laugh my ass off. Especially this:
However, I think it's a question that makes a clear distinction between the students that truly understood what polymorphism is and those who did not completely,
The code has nothing/not much to do with polymorphism... I guess you should not be a CS teacher, but perhaps you are just tired from your hard work and made a bad example. (Hint: B calls in its constructor a method defined in B. In C++ it would always call the implementation of B, statically. Same for A. In Java the constructor of A "unfortunately" calls the inc() implementation of B, which is a design flaw of the language. Asking students about such trivia is plain stupid and nitpicking. I bet if you ask 100 senior Java programmers and C++ programmers chances are: no one knows the correct answer! There is actually an official anti pattern for that: Intellectual Violence... or as we germans call it: mental masturbation.)
(I bet a wage of one year that, you did not even know/knew that C++ behaves exactly opposite way... so much to "understanding polymorphism" )
Your points about optimizations are ALL wrong. And that is why learning the theory matters.
e.g.: optimizing bubble sort... har har har... for small data sets bubble sort is the fastest!. Merge sort is only quick when the data is already partial sorted... and quicksort has the exact same time consumption regardless if the data is already sorted or not...
Btw: mergesort was invented to sort data that comes from a disk...
Left join is the arrangement of SQL output you get when you invoke SELECT * from table1 LEFT JOIN table2 ON ( table1.attribute1 = table2.attribute2 ) While it is "true", it explains nothing. If you had given an answer like that in my exam, you got zero points... Here is a simple link, perhaps you grasp it: https://www.w3schools.com/sql/...
Well, the average asian lady looks much better and more healthy than an americcan, too... Jokes aside, america became partly great because of the 'brain drain' they put on the rest of ghe world. That is changing rapidly. The 'hot spots' on the planet are all in Asia... USA is only cool if you speak english and are scared to learn an asian language.
Yes, I have read it yesterday. Perhaps you should do that, too. It has no 'trade limitations' or what soever between EU nations, how the funck would that even be enforceable?
I program since 35... actually nearly 40 years, on 6502, 68k, ARM, SPARC, but recently only in Java and Bash.
I'm absolutely not interested in the historics of one of the worst processor architectures we ever had on the planet:)
In one of your previous posts you said that 386 was the first with 'protected mode'... now you say 286 was it... sorry, completely irrelevant to the start of our discussion: a DirectX library does not run in kernel space! It is on the same 'ring' as the application calling it. There is no difference between a desktop or server OS unless your server is a mainframe and runs an OS that is not availabble for desktops.
Except for my martial arts exams and my driving license all exams were on paper. And actually when I was young I wrote many programs on paper first... because we only had 3 or 4 computers in school, and waiting till one was available seemed unplausible... if you can not explain something on paper (I'm not talking full UML 2.x) you likely have not grasped it enough.
Citation please ;)
Or care to read this and shut up? https://en.wikipedia.org/wiki/...
Yes, I miss your point. ... your examples are completely irrelevant. .... there wont be anything in the processor cache of the machine handling your request, relevant to your request. ...
No idea if your code examples are formatted wrong (and no idea what a stride is, either)
Click a random page on Amazone
The last time I had to work on an algorithm were it turned out, optimizing for the cash made sense, was the early 1990s.
Your millage may vary
No IDE is going to look at your function and recognize there's a standard library equivalent.
Every IDE does that. Did you ever use one?
But so many people base their entire work efforts around google results
You must be very unlucky. I never worked in an environment where it was remotely possible that you could find the solution of a business requirement via google or stackoverflow.
Technical questions you can google, solutions for business requirements usually not.
Multiple choice tests are easy to 'cheat'.
And I never heard about a stupdent who had so bad hand writing that he could not write in 'printing letters'.
There never will be an AI writing code.
No that did mot pass as CS education, that was an example where an IDE is super usefull, and saves an hour every day by not needding to type stuff, the IDE can do automatically. And nothing magically or AI about it.
First of all I don't rely on an IDE.
Secondly your claims are nonsense.
No one is 'fixing' a Java, C++ program installed on a production system with SSH and VI.
Chances are: there is no compiler on the production system. Definitely there is no build system. Most certainly the test code is not available on the production system.
And yes, I can use SSH and VI, chances are: if SSH is working, I actually migt have an internet connection. So I still can google. Chances are I have a tablet with me, and can at least google on that to handle problem I might encounter.
You know, when you have an apendix problem, every old school doctor knows how to make the diagnosis. Without any tool. Nevertheless every modern doctor will cross check his old school diagnosis with an ultrasonic.
No idea how people can get as old as you and stay so dumb.
Non relational databases of can have 'relations'.
Or how do you think graph based databases work?
Or in memory databases like Java's 'prevailer'?
C is abstracting away only two things: the names and amount of registers, and the way how you call functions/use the stack. ... that is up to you. But might lead to strange eyes when you get a bad grade in a test ..
It is considered by academics not to be a high level language
Of course you could disagree
C is not a high level language.
It is neither you nor JQP who makes those definitions, it is the professors in he universities giving CS courses.
You could nitpick that ANSI C has evolved far from old school K&R C, however K&R C was just a portable assembler, it was designed to be that.
There are people arguing that only languages like Lisp, Prolog, Haskel, OCml, SQL etc. are *really* high level languages. In other words: not even Pascal, C++, Java, C# are high level languages.
That is why modern languages have strong IDE support.
That mostly eliminates the need to learn 'standard libraries' completely.
Lucky, I do not live in a country where I could get a ticket for coming "to close" to a pedestrian.
Because Java has a "normal" Date class in: java.util.Date.
The SQL/JDBC/ODBC package has a Date class to treat dates coming from databases or get stored there: java.sql.Date.
Then as the java.util.Date class has several shortcomings (stupid API for one), most modern developers use the "Joda Date" library, which is now basically incorporated into Java 8 as: java.time.*
Point is: I do not expect a developer to know exactly the name of a package to type "import java.util.Date;" and make no typo, when the IDE does it automatically and shows that he has several classes to pick from to do the correct import.
Another point is: modern Java IDEs are so advanced that people who never used them actually have no clue what power they have.
It is plain stupid to develop in Java (or C#) or other languages on those eco systems without using an IDE.
No, VATs are generally done IN ADDITION to income taxes.
No, they are not. You pay them on the bill when you buy a product or a service.
Your proposal is the exact same thing as VAT.
The FairTax, by contrast, simply taxes all products, both foreign and domestic, at the same rate over the counter and is applied at the cash register. ...
That is exactly how VAT works
Wow, you make people write code like this?
// superfluvious ... it is initialized to 0 by default. ... // superfluvious, the super class constructor is called automatically
this.x = 0;
public B() {
super();
inc();
}
If you would ask me stuff like this I would laugh my ass off.
Especially this:
However, I think it's a question that makes a clear distinction between the students that truly understood what polymorphism is and those who did not completely,
The code has nothing/not much to do with polymorphism ... I guess you should not be a CS teacher, but perhaps you are just tired from your hard work and made a bad example. (Hint: B calls in its constructor a method defined in B. In C++ it would always call the implementation of B, statically. Same for A. In Java the constructor of A "unfortunately" calls the inc() implementation of B, which is a design flaw of the language. Asking students about such trivia is plain stupid and nitpicking. I bet if you ask 100 senior Java programmers and C++ programmers chances are: no one knows the correct answer! ... or as we germans call it: mental masturbation.)
There is actually an official anti pattern for that: Intellectual Violence
(I bet a wage of one year that, you did not even know/knew that C++ behaves exactly opposite way ... so much to "understanding polymorphism" )
In Pascal/C it is a)
In BASIC it is b)
So what is your point?
If one writes either of it in pseudo code in an exam, I know he knows what he is doing. Why would I fail him the test?
Your points about optimizations are ALL wrong.
And that is why learning the theory matters.
e.g.: optimizing bubble sort ... har har har ... for small data sets bubble sort is the fastest!. Merge sort is only quick when the data is already partial sorted ... and quicksort has the exact same time consumption regardless if the data is already sorted or not ...
Btw: mergesort was invented to sort data that comes from a disk ...
Just boggles the mind.
Why?
In which package actually is the "Date" class?
Oh, there are several?
And the IDE makes it _esay_ to pick the correct one ...
And IDE launches in 3 seconds ... why the funk should I use vi to write a 20 lines Java/Groovy program, when I can use an IDE?
Can launch it with a right click instead of writing a shell script or a line in bash to set up the classpath and start it?
Left join is the arrangement of SQL output you get when you invoke SELECT * from table1 LEFT JOIN table2 ON ( table1.attribute1 = table2.attribute2 ) ...
While it is "true", it explains nothing.
If you had given an answer like that in my exam, you got zero points
Here is a simple link, perhaps you grasp it: https://www.w3schools.com/sql/...
Well, the average asian lady looks much better and more healthy than an americcan, too ... ... USA is only cool if you speak english and are scared to learn an asian language.
Jokes aside, america became partly great because of the 'brain drain' they put on the rest of ghe world. That is changing rapidly. The 'hot spots' on the planet are all in Asia
Yes, I have read it yesterday. Perhaps you should do that, too.
It has no 'trade limitations' or what soever between EU nations, how the funck would that even be enforceable?
I program since 35 ... actually nearly 40 years, on 6502, 68k, ARM, SPARC, but recently only in Java and Bash.
I'm absolutely not interested in the historics of one of the worst processor architectures we ever had on the planet :)
In one of your previous posts you said that 386 was the first with 'protected mode' ... now you say 286 was it ... sorry, completely irrelevant to the start of our discussion: a DirectX library does not run in kernel space! It is on the same 'ring' as the application calling it. There is no difference between a desktop or server OS unless your server is a mainframe and runs an OS that is not availabble for desktops.
You disagree ... fine for me.
I don't know if the web site is 'great'.
But I don't install or care for an Application on my desktop, when I simply can visit the web site.
want to replace ALL the income taxes with taxes on new goods at retail and services ...
That is exactly how VAT works
Except for my martial arts exams and my driving license all exams were on paper. ... because we only had 3 or 4 computers in school, and waiting till one was available seemed unplausible ...
And actually when I was young I wrote many programs on paper first
if you can not explain something on paper (I'm not talking full UML 2.x) you likely have not grasped it enough.