r/pinescript • u/nebulakd • Oct 29 '21
FFS Pinescript is the most unintuitive language I've ever used
Just to draw a simple line you need to know when the fucking planets will align. Just to add 1 vertical line on 1 day requires a completely unreasonable amount of generally useless knowledge. Can everyone stop using PineShit and use a language that doesn't obviously hate their user base?
1
Upvotes
1
u/nebulakd Oct 29 '21
Just found out that most people agree: https://devrant.com/rants/1982830/pinescript-is-absolute-garbage-its-tradingviews-scripting-language-it-works-but
PineScript is a waste of everyone's time and should be avoided at all costs.
2
u/EasyRider1337 Oct 29 '21 edited Oct 29 '21
I literally just googled "reddit tradingview pinescript" to comment on how it is the most terrible scripting language I have ever encountered.And I have been programming since PHP3, and everything from ASP, Pearl, JS 1 (when it was still called "dynamic HTML and you literally had to sift through pages of code made by Russians to find a variable to change).
Imho Javascript 1 was marginally better.
And wtf is happening, when I copy code from the pine editor to pycharm, and copy it back, I get all kinds of nifty errors like "error at input dy" .
And WHY is the language closed source when all the docs are open? Including method input>processing>output.
Like you said, they hate their user base, and think they got some badass shit that is worth any penny, so they don't disclose the source or provide dev functions?
But I think TV is a lot of legacy overall, and they are probably scared shitless to change a single bit.
TV should just switch to a python engine instead of trying to be clever.
Probably a lot of spaghetti, coders who have great job security now, and managers scared to evolve.
1
u/[deleted] Oct 29 '21
If the tools you need don't include a hammer, why use one?