Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
the bsd boys
Aug 8, 2011
Probation
Can't post for 364 days!
:synpa:

Adbot
ADBOT LOVES YOU

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Notorious b.s.d. posted:

people who use vs.net or eclipse projects as a substitute for build tools are the worst. total scum. worse than make/ant users.

this is a really weird position to take

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
posting on page 586

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Nomnom Cookie posted:

rule #1 of programming is do the easiest thing first. if that works well enough then YOU'RE DONE

rule #2 is optimize the hot spots. its actually a corollary of #1

rule #3 is SHUT THE gently caress UP. programmers are 100% terrible and so are their opinions

rule #4 is that you don't need qa because you're more clever than any other programmer

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

vapid cutlery posted:

this is a really weird position to take

agreed

you should be able to hand-edit that poo poo and not just blindly trust the tool at all times but i just msbuild on my csproj files with tfs and push to my webservers easy peasy done, so what's the problem exactly? unless you just hate ides in general in which case, :shrug: idgaf

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Cold on a Cob posted:

agreed

you should be able to hand-edit that poo poo and not just blindly trust the tool at all times but i just msbuild on my csproj files with tfs and push to my webservers easy peasy done, so what's the problem exactly? unless you just hate ides in general in which case, :shrug: idgaf

he has more hardcores than us

darthbob88
Oct 13, 2011

YOSPOS

Do you have some kind of script to do that for you?

Question: I hear the term "P-lang", "F-Lang", "J-Lang", and similar used a lot. What's that about? Do they stand for Procedural, Functional, and Junior or something?

Shaggar
Apr 26, 2006
p-lang litterrally means any language that starts w/ p. it just turns out that they are all bad and you shouldn't use them. python, php, perl, ruby, etc... all bad.

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe

Cold on a Cob posted:

agreed

you should be able to hand-edit that poo poo and not just blindly trust the tool at all times but i just msbuild on my csproj files with tfs and push to my webservers easy peasy done, so what's the problem exactly? unless you just hate ides in general in which case, :shrug: idgaf

It makes more sense for the MS toolchain since there really isn't any other IDE for it, but in Java it's just dumb

jooky
Jan 15, 2003


on a roll today

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Shaggar posted:

p-lang litterrally means any language that starts w/ p. it just turns out that they are all bad and you shouldn't use them. python, php, perl, ruby, etc... all bad.

please don't listen to anything shaggar says unless someone else also says it (they rarely do)

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

Hard NOP Life posted:

It makes more sense for the MS toolchain since there really isn't any other IDE for it, but in Java it's just dumb

shouldn't a decent ide like eclipse support any popular build files and by extension have all dependencies mapped out when you open the projects? i'm not a java guy i just assumed that's how it would be

Shaggar
Apr 26, 2006
in java if ur using eclipse to build a maven project its using maven to build the project the same way as if you built it from the command line or on a build server. that's the point of maven.

where there is no real maven equivalent for c#, you can just use vs cause its using msbuild anyways.

Shaggar
Apr 26, 2006

vapid cutlery posted:

please don't listen to anything shaggar says unless someone else also says it (they rarely do)

I guess if ur building a porn site php is ok, but that's about it.

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Cold on a Cob posted:

shouldn't a decent ide like eclipse support any popular build files and by extension have all dependencies mapped out when you open the projects? i'm not a java guy i just assumed that's how it would be

eclipse is just a giant plugin monster so it will support anything if you're willing to put up with an insane amount of configuration and things randomly breaking

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Shaggar posted:

I guess if ur building a porn site php is ok, but that's about it.

i think everyone except tiny bug child is about on the same page when it comes to php

Brain Candy
May 18, 2006

if you don't have testing + build server, please evaluate your life choices

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Brain Candy posted:

if you don't have testing + build server, please evaluate your life choices

my client team has like 3 people on it. no thanks

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>
y0 dewdz does selenium execute javascript i want to make something to automate restarting my lovely cable modem every couple of days because it cuts my 100mbit connection down to like an 8mbit connection over the course of a week until i restart it, and for some reason the goddamn config pages have a .asp extension and do a whole bunch of insane javascript bullshit. thanks also it was made by cisco, so where's the dude who posts here and works for them: you should be ashamed of yourself

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

vapid cutlery posted:

eclipse is just a giant plugin monster so it will support anything if you're willing to put up with an insane amount of configuration and things randomly breaking

hm ok so i guess the argument is the default for java projects in eclipse sucks, whatever that is

the few java guys i know avoid eclipse though and use intellij not sure if that's smarter or dumber or just a big :can:


Brain Candy posted:

if you don't have testing + build server, please evaluate your life choices

truth

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

vapid cutlery posted:

y0 dewdz does selenium execute javascript i want to make something to automate restarting my lovely cable modem every couple of days because it cuts my 100mbit connection down to like an 8mbit connection over the course of a week until i restart it, and for some reason the goddamn config pages have a .asp extension and do a whole bunch of insane javascript bullshit. thanks also it was made by cisco, so where's the dude who posts here and works for them: you should be ashamed of yourself

maybe just buy a plug timer thing to turn it off at a certain time every night for a minute so it bounces?

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Cold on a Cob posted:

maybe just buy a plug timer thing to turn it off at a certain time every night for a minute so it bounces?

i want to write something really over-engineered though

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

vapid cutlery posted:

i want to write something really over-engineered though

hrm, of course

you could overengineer with a combination of hardware and software, first you need to buy an as seen on tv the clapper,

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>
i just want to struggle with a bunch of java bullshit and go to bed angry so i can wake up and go to work at my fun objective-c job

HORATIO HORNBLOWER
Sep 21, 2002

no ambition,
no talent,
no chance

Cold on a Cob posted:

hm ok so i guess the argument is the default for java projects in eclipse sucks, whatever that is

yep eclipse will integrate beautifully with ant or maven but if you're like the idiots in my group and depend on eclipse's native functions to turn a workspace into a jar/war/application you're in for a world of hurt

what's the name of that other apache build project, the one that's like halfway between ant and maven I can't remember

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe
ivy I think

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

vapid cutlery posted:

y0 dewdz does selenium execute javascript

probably

Cold on a Cob posted:

maybe just buy a plug timer thing to turn it off at a certain time every night for a minute so it bounces?

but do this instead

hubris.height
Jan 6, 2005

Pork Pro
whats the difference between a functional programming language (e.g. haskell) and just your everyday ordinary object orientated programming language (java, cpp) and scripting langs (python, js). i get that scripting langs are compiled completely before being run but the other ones i don't really get the diff

power botton
Nov 2, 2011

the more you treat js as a pure functional language the better it becomes. ignore all that prototype bullshit.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

hubris.height posted:

whats the difference between a functional programming language (e.g. haskell) and just your everyday ordinary object orientated programming language (java, cpp) and scripting langs (python, js). i get that scripting langs are compiled completely before being run but the other ones i don't really get the diff

dont troll

jony neuemonic
Nov 13, 2009

hubris.height posted:

whats the difference between a functional programming language (e.g. haskell) and just your everyday ordinary object orientated programming language (java, cpp) and scripting langs (python, js). i get that scripting langs are compiled completely before being run but the other ones i don't really get the diff

someone might pay you write oo code. no one is paying you to write haskell.

hubris.height
Jan 6, 2005

Pork Pro

legit not trolling, reading through the haskell docs and language intro and its like they have to loving celebrate that its a functional programming language every 10 sentences i was just wondering if this is actually a significant thing or the equivalent of saying 'this outputs at 720p via hdmi instead of component!' where the differences are so miniscule you need to be a sperf to know

hubris.height
Jan 6, 2005

Pork Pro
and i was not trying to start an hdmi vs component 720p flame war please don't start one

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

hubris.height posted:

whats the difference between a functional programming language (e.g. haskell) and just your everyday ordinary object orientated programming language (java, cpp) and scripting langs (python, js). i get that scripting langs are compiled completely before being run but the other ones i don't really get the diff

phrases like "functional" and "object oriented" don't describe an explicit property of the language, they describe paradigms of programming that the language is trying to support.

for example, the functional programming paradigm says you should think of your program as transforming the input data into some output. the object-oriented paradigm meanwhile says that you should think of your program as a set of objects that interact with eachother. functional languages have features that support the former approach (things like allowing functions of functions, or partial application, etc) while object oriented languages have features that support the latter (things like inheritance, or dynamic dispatch, etc).

lots of (almost all, nowadays) languages have features from multiple paradigms. like python both has classes and objects (object oriented) but also lambdas (functional).

whether a program is interpreted or compiled is another issue altogether, though it is a typical property of a "scripting language", as it allows the programmer to test and revise her code very quickly. "scripting" is really shorthand for "fast to write at the expense of other things"

coffeetable fucked around with this message at 13:15 on Aug 2, 2013

hubris.height
Jan 6, 2005

Pork Pro
thank you that was a great answer

Stringent
Dec 22, 2004


image text goes here

git clone trooper posted:

the more you treat js as a pure functional language the better it becomes. ignore all that prototype bullshit.

this is actually really good advice

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

hubris.height posted:

legit not trolling, reading through the haskell docs and language intro and its like they have to loving celebrate that its a functional programming language every 10 sentences

if you learn much proof-based maths, it does funny things to the way you think about things. haskell was written by mathematicians to explicitly support that (extremely functional) way of thinking, and they're pretty drat happy with how it turned out. in particular they're happy with how it far it goes with the FP paradigm, even though that means it loses features that are common to other languages.

unfortunately if you aren't amenable to that way of thinking about programs, it's an obtuse pile of wank that tries its best to get in the way. edinburgh has one of the creators (phil wadler) teach haskell as the intro to programming course, and apparently it's got the most spectacular double-hump in the grade curve.

coffeetable fucked around with this message at 13:34 on Aug 2, 2013

Opinion Haver
Apr 9, 2007

one good example of this is that in haskell all variables are immutable. this is a compile error:

code:
x = 8
x = 9
which means that any sort of mutable state has to be passed between your functions. there are different ways to sort of abstract that for when you need to (such as monads) but it all boils down to passing state explicitly as an argument to a function. you can 'cheat' and get a mutable reference you can read and write to but the only way to do that is to enter the IO monad which basically 'marks' that function by saying 'hey, this function can do arbitrary IO stuff'. so the haskell way to write programs typically tries to have the IO-handling code as short as possible and pull as much as it can into 'pure' functions over data. which isn't a bad way to write programs in general because it's obviously easier to test functions that don't rely on hidden state or do IO.

the other side of this is that haskell has a super-expressive type system which tries to push as many errors as possible into compile time. i can legitimately say i have way fewer errors in haskell programs that compile than i do in java programs or whatever.

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.
also, haskell's type-system make it so that the drat program nearly writes itself, and if the naming of the functions is any good, the program is basically self commenting

Adbot
ADBOT LOVES YOU

HORATIO HORNBLOWER
Sep 21, 2002

no ambition,
no talent,
no chance

yeah ivy that's it. I was thinking about trying it out since maven is so drat hard to get working offline (our dev network is air gapped)

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply