Hard coded adress in source (1 Viewer)

Csc

Portal Member
July 21, 2008
12
12
Home Country
France France
Hi,
why various adress in source are hard coded (for example : url = String.Format("http://xoap.weather.com/weather/local/{0}?cc=*&dayf=5&link=xoap ....... in GUIWindowWeather.cs).
It's sure web sites will change their access.
Why these adress are not in a config file (xml) ?
Have a good day

csc

:)
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Most likely a lazy developer (at least I hope its lazyness and not the ignorance that have caused such thing :))
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    It's even on purpose since the weather.com SDK comes with license restrictions etc.
    If their API changes most likely their terms of service will change as well.
     

    Users who are viewing this thread

    Top Bottom