|
Java? Talk to the hand![^]
Latest Article - Slack-Chatting with you rPi
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
|
Not really sure what you point or points are?
sickfile wrote: and they have forbid using any form of programming paradigm other than object oriented
Huh? Java is an OO language, so of course that means you must do OO. How else would it work?
Maybe your point is you want to do functional programming? If so then use Scala. It is functional and it uses the Java VM. Of course the maintenance programmers will suffer for years afterwards when they must maintain it but that shouldn't matter to a true developer.
sickfile wrote: the most painful is maybe the fact that someone decided to make JavaScript too similar to Java and now JS
Not sure what that means but JavaScript has little relationship to Java. But again if this is some reference to functional programming then since functional programming had zero market share when JavaScript was created there would have been no models to base it on even if they wanted to. And given that wasn't their market driven goal anyway it wouldn't have happened.
sickfile wrote: as simple programming languages that don't need a 1200+ pages volume to describe.
I can only suppose that you are confusing "language" with "API" (library support). The Java "language" specification is not 1200 pages and the specification is the exact and sum total description of the "language".
On the other hand if you think you are going to create a modern business enterprise solution using nothing but a single functional programming language and not use one external library then I wish you good luck. But myself I don't want my stock options to be based on a strategy like that which will never work.
|
|
|
|
|
java will collapse under its own weight.
you cannot build something good by forbidding. it has been shown in various processes and in management too.
you have built a "cargo cult" out of your object oriented premise and banned every other creative thought, not just within yourself but you have used your influence (Sun and Oracle) to do that into the academia and the industry. now you want JavaScript distorted with classes just so that you won't feel ashamed when you have to switch from Java to JS.
soon you will find yourself in a dead end and you will need techniques which are contradictory with your primal dogma. you will try to adjust Java and thus it will crumble under it's own weight.
like in the biological evolution, in IT older languages don't suffer this specialization. C and Pascal are not equally well suited for OOP or FP vs newer languages, but they are not hindering the respective philosophies.
Pascal fanatics tried to forbid GOTO, but many experienced C programers showed that GOTO has it's purposes. they have shown that GOTO intrinsically is not the problem.
and at the end, my point from the very first post.
you have input data, you transform it and you have output data.
there are no objects in the equation.
|
|
|
|
|
sickfile wrote: java will collapse under its own weight
So will cobol. But both are still here after I die.
So I am not to worried about my skill sets aging out.
sickfile wrote: you have built a "cargo cult" out of your object oriented premise and banned every other creative thought
Sigh...I didn't "build" anything.
Market share "builds" things. That is why OO won and Case tools did not, as one of only many examples.
There are literally hundreds of programming languages implemented every year and tens of them that get promoted, with no more than an handful managing to become more a blip on the landscape. Because the market decides that.
In contrast for almost every language (hundreds) proponents and consultants will start promoting each because, for them, their vested interest supersedes everything else. That however doesn't mean they are better.
Further actually demonstrating that a given technology is even a little bit better much less market changing at inception is impossible. Economics make it impossible.
sickfile wrote: soon you will find yourself in a dead end
LOL. Sorry, but you seriously do not know what you are talking about. Not about my individual skills and even less about how the market works.
sickfile wrote: like in the biological evolution, in IT older languages don't suffer this specialization. C and Pascal are not equally well suited for OOP or FP vs newer languages, but they are not hindering the respective philosophies.
Another big sigh...I can only suppose you have no idea what you are talking about. Or perhaps that was very badly phrased.
The only "Pascal" that currently ranks in market significance is OO.
And C has been adding OO features for years.
sickfile wrote: Pascal fanatics tried to forbid GOTO, but many experienced C programers showed that GOTO has it's purposes. they have shown that GOTO intrinsically is not the problem.
There are features is every language that are problematic. However that has nothing to do with anything that I said.
sickfile wrote: you have input data, you transform it and you have output data.
Which has nothing to do with delivering products to the market and keeping them running.
|
|
|
|
|
Execution in the Kingdom of Nouns
the market works the way it's being pushed. you should read the interview: Dennis Ritchie, Bjarne Stroustrup and James Gosling.
"[Java] owes much of its initial popularity to the most intense marketing campaign ever mounted for a programming language." - Bjarne Stroustrup.
you don't hear me saying anything against C++, just Java. the reason is Java forbids, but in C++ you can program in any fashion you like. you can even use it as a case tool, as you said.
did you meant case tool of other non strict OO languages too? like LISP, FORTH, C, Rust, Go, Kotlin, JavaScript, Lua? boy, compared to them, Java is a real prison.
one saying that comes to my mind involving OOP and especially Java is "never trust a bald barber".
you've built your world on inheritance and forbidden multiple inheritance. shouldn't multiple inheritance be the pinnacle of OOP? well, if that is so foul do you think that single inheritance can be divine?
when i say you i don't really mean you in person, i say it in plural. industry Java lobbyist, advocates and all the below, Java evangelist, Java minions and least Java hipsters.
i don't have anything against you personally, in singular. you alone don't bother me. program in Java if that is your preference.
you may have already noticed, it makes you a better OO programmer if you do, that there are no objects. it is syntactic sugar. the size of the object is the sum of the data members + some waste, padding, alignment, a pointer here and there, whatever the JVM needs to do to make it work and look like OO... the functions are static and generally have one instance.
they are just functions that take an reference of an instance of the class data type. there is no object utopia there.
"And C has been adding OO features for years." your quote. you shouldn't have said this. it lowers the excitement of arguing with you, because it's not true. there is no sign of C adding OO anything, quite the opposite. some C compilers have a pure keyword for the functions and i believe that will become a standard feature in the years to come. much like the pure functions in FP languages.
although, because Dennis Ritchie the genius made passing by value the dafault way of pushing arguments to a function and returning, no keyword is needed for working with pure functions in C. just follow the rules of pure functions. but only if you wish...
"Java is the most distressing thing to hit computing since MS-DOS." - Alan Kay
-- modified 7-Mar-19 19:48pm.
|
|
|
|
|
Is a rodent's drawing a mouseterpiece?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
A very Auguste Rodin.t!
Got my site back up after my time in the woods!
JaxCoder.com
|
|
|
|
|
are you taking the mickey?
Message Signature
(Click to edit ->)
|
|
|
|
|
At the rat were going, I gnaw we'll discuss squirreling them away until they litter-aly increase in value.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
It might be a nutria bomb.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Lemming think about it.....no.
|
|
|
|
|
Let me know if it would be better to create a survey....
background: I handle building a multi-part application that crosses multiple development tools, custom processing, etc. Basing my "automation" work off of some work by another developer, I essentially have a dozen MS-DOS scripts that build each part and then assemble the whole. Now, IMHO, MS-DOS scripting just blows, and I'm being generous. Sure, it gets the job done, but calling it archaic is too generous. So, I'm looking to implement something a bit more modern that will work effectively with a nightly build process.
So, what do you use? MS-DOS script users need not reply
I'm looking at SCons now, but thought I'd get some feedback from CP.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I used to work on similar projects and used make and makefiles. They are exceedingly flexible, customisable and work with just about any directory structure. The learning process (as with all) can be a little steep but time spent learning it does pay dividends. I have done something similar on Windows with Visual Studio projects, but on a much smaller scale.
|
|
|
|
|
I perceive you are an old fart (no offense, I am too). I used to use MMS (DEC) - very similar to make. I'm headed in that direction, but I'm looking to put a little more intelligence in it.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: I perceive you are an old fart More like a very old fart ... I first started programming in machine code on Leo Computers Society. Leo 3 photos[^] (first four pictures in the second row) in 1966.
|
|
|
|
|
charlieg wrote: but I'm looking to put a little more intelligence in it.
Not sure what that means but you can add conditional build semantics to make files if that is what you are referring to.
|
|
|
|
|
We're using Jenkins[^] where I work.
Latest Article - Slack-Chatting with you rPi
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
A daily build script for your project[^]
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Touche' I'll review it.
Thank you
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
It has been a while since that, and I heard some good things about FogBugz. You may want to browse around a bit, after reading the tip on how to do it yourself.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Our build process used to be exactly as you describe: a mish-mash of batch files, VBscript's, and a few odds-and-ends executables thrown in for fun. I looked at a few of the existing build tools before writing a Windows service written in C#. Most of the public tools were preferentially biased toward a specific tool-chain or target operating system. The other problem was customization - you had to learn their "paradigm" in order to adjust the process to your requirements, and you could spend a lot of effort getting around paradigm features that weren't needed or appropriate.
My service handles everything: get source from source control, compile, move files as needed to compile installers, create install images, and finally generate .ISO's to archive the build. The service communicates with our in-house network tracing tool to display progress and to let users cancel or pause builds. Builds for specific products are implemented as classes deriving from a base 'build' class. Product build classes can override steps in the build process as needed. New products and branches can usually be added in minutes, rather than the days it used to require. The whole thing is vastly easier to debug and maintain than the original wretched hive of scum and villainy .
Software Zen: delete this;
|
|
|
|
|
Automated builds
To me that means getting F5 pressed without having to explicitly do it myself.
You mean there's more to it?
|
|
|
|
|
lol, yeah, I wish. Our release process can become something like "We need to ship something to test tonight." This might occur at 9am or 5pm. Manually performing all the steps is a recipe for disaster. The entire point of post is I just in fact did this - screwed the build up.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
It turns out writing software is easy.
It's the build systems that are downright horrifying.
|
|
|
|
|